Re:Learn to use Awk with hundreds of examples
by kazinator on Wednesday October 25, 2017 @01:59PM
(#15552414)
Not to mention that awk takes filename arguments, so this is an egregiously useless use of cat.
[ Parent
| on HN ]
Re:Learn to use Awk with hundreds of examples
by twmb on Wednesday October 25, 2017 @03:17PM
(#15553216)
From the second post,
> Alternatively, awk '{print $2}' netflix.tsv would have given us the same result. For this tutorial, I use cat to visually separate the input data from the AWK program itself. This also emphasizes that AWK can treat any input and not just existing files.