Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
G_o_D
· 1y ago · 0 comments
why no mention of awk ? awk '!a[$0]++'
Comments
[–]
noamteyssier
1y ago
I've added awk into the benchmarks also!
[–]
pabs3
1y ago
Also perl, should be faster than awk IIRC:
perl -ne 'print if ! $a{$_}++'