1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 17:13:50 +02:00

Merge pull request #654 from muteness/uniq

uniq: add page
This commit is contained in:
Waldir Pimenta 2016-01-13 20:55:11 +00:00
commit 8c897ea629

19
pages/common/uniq.md Normal file
View file

@ -0,0 +1,19 @@
# uniq
> Report or omit repeated lines.
- Display each line once:
`uniq {{file}}`
- Display only unique lines:
`uniq -u {{file}}`
- Display only duplicate lines:
`uniq -d {{file}}`
- Display number of occurences of each line along with that line:
`uniq -c {{file}}`