uniq Flashcards
1
Q
uniq
A
Filter adjacent matching lines from INPUT (or standard input), writing to OUTPUT (or standard output).
2
Q
uniq [OPTIONS]
- c
- d
- D
- i
- u
A
- c, –count, Prefix lines by the number of occurences.
- d, –repeated, Only print duplicate lines, one for each group.
- D, Print all duplicate lines.
- i, –ignore-case, Ignore differences in case when comparing.
- u, –unique, Only print unique lines.
3
Q
uniq [OPTIONS]
- f
- s
A
- f, –skip-fields=N, Avoid comparing the first N fields.
- s, –skip-chars=N, Avoid comparing the first N characters.