News for hackers. Stuff that matters.
Re:Learn to use Awk with hundreds of examples by ninkendo on Wednesday October 25, 2017 @10:29AM (#15550385)
Dumb side note: I always end up using `awk '{print $1}'` instead of `cut -f1` because cut's field separation defaults are unwieldy in that it doesn't intelligently consider any whitespace to be a field separator, which is what I need 99% of the time.
Re:Learn to use Awk with hundreds of examples by ptman on Wednesday October 25, 2017 @12:33PM (#15551583)
sometimes (if there are not mixed spaces and tabs) tr -s ' ' < input | cut -f1 helps