3 ms·
More of a shell snippet, but removing duplicate lines with awk is one that comes to my mind: awk '!seen[$0]++'
by pawelduda 4y ago
More of a shell snippet, but removing duplicate lines with awk is one that comes to my mind:
awk '!seen[$0]++'
3 ms·