Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Awk: The Power and Promise of a 40-Year-Old Language. Parent comment
For example, to print the first field of a line work the default delimiter could be accomplished in perl by running:
perl -ane 'print $F[0], "\n"'
There are no comments on this comment yet.
For example, to print the first field of a line work the default delimiter could be accomplished in perl by running:
Where $F[0] is the equivalent of $1 in awk.