Y
Hacker News
new
|
ask
|
show
|
jobs
by
G_o_D
237 days ago
why no mention of awk ? awk '!a[$0]++'
1 comments
noamteyssier
236 days ago
I've added awk into the benchmarks also!
link
pabs3
235 days ago
Also perl, should be faster than awk IIRC:
perl -ne 'print if ! $a{$_}++'
link