1
0
mirror of https://github.com/cheat/cheat.git synced 2025-05-24 00:56:06 +02:00

Refer sort -u

This commit is contained in:
shigemk2 2015-01-12 21:29:35 +09:00
parent 353fe48d60
commit 2e1cda114a

@ -1,4 +1,5 @@
# show all lines without duplication
# "sort -u" and "uniq" is the same effect.
sort file | uniq
# show not duplicated lines
sort file | uniq -u