Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Shell Script Best Practices, from a decade of scripting things. Parent comment
If it's not a CSV with quotes to allow for commas inside values (which I think AWK will also fail in), you can use `cut`.
cut -d, -f n
There are no comments on this comment yet.
If it's not a CSV with quotes to allow for commas inside values (which I think AWK will also fail in), you can use `cut`.
To delimit on a comma and select the n'th field. Reads a bit easier IMO for that common AWK use case (which I used to use AWK for all the time).