Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Understanding Awk. Parent comment
Awk will treat it as having two columns (by default), while cut will treat each space as it’s own column.
Awk is also a little nicer for whitespace; cut makes specifying the delimiter (with say “-d\ “) a little more vexing.
There are no comments on this comment yet.
Awk will treat it as having two columns (by default), while cut will treat each space as it’s own column.
Awk is also a little nicer for whitespace; cut makes specifying the delimiter (with say “-d\ “) a little more vexing.