HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by G_o_D | Hacker News Reader
Full thread
G_o_D
·
why no mention of awk ? awk '!a[$0]++'
View on HN
noamteyssier
·
I've added awk into the benchmarks also!
pabs3
·
Also perl, should be faster than awk IIRC:
perl -ne 'print if ! $a{$_}++'
Reply on news.ycombinator.com