News for hackers. Stuff that matters.
Re:Become Shell Literate by tannhaeuser on Saturday December 12, 2020 @02:21PM (#25400715)
Your wish has been granted: awk '{ print $2 }' can be replaced by 'cut -f2'. And all of the commands are part of the set of POSIX command-line utilities having been included on Unix systems since basically forever, with awk (the one true awk) having been introduced only in 1983 or so.
Re:Become Shell Literate by tedunangst on Saturday December 12, 2020 @02:31PM (#25400816)
cut doesn't use the same field delimiters as awk.
Re:Become Shell Literate by Scarbutt on Saturday December 12, 2020 @03:06PM (#25401169)
And awk doesn't let you easily select a range of fields like cut