mirror of
https://github.com/cheat/cheat.git
synced 2025-09-01 01:28:30 +02:00
Refer sort -u
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user