mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 11:32:17 +01:00
Refer sort -u
This commit is contained in:
parent
353fe48d60
commit
2e1cda114a
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
# show all lines without duplication
|
# show all lines without duplication
|
||||||
|
# "sort -u" and "uniq" is the same effect.
|
||||||
sort file | uniq
|
sort file | uniq
|
||||||
# show not duplicated lines
|
# show not duplicated lines
|
||||||
sort file | uniq -u
|
sort file | uniq -u
|
||||||
|
|
Loading…
Reference in a new issue