Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Awk vs. Perl (2009). Parent comment
Your code is verbose: length($0) shortens to just length:
awk 'length > max { max = length } END { print max }'
Your code is verbose: length($0) shortens to just length:
The Perl seems to have an off-by-one error.