uniq command for MoonX.
moonx cli/uniq input.txt
moonx cli/uniq -c input.txt| Option | Description |
|---|---|
| -c, --count | Prefix each record with its occurrence count. |
| -d, --repeated | Print only repeated records. |
| -u, --unique | Print only groups that occur once. |
| -i, --ignore-case | Ignore ASCII case when comparing adjacent records. |
| -f VALUE, --skip-fields VALUE | Skip fields, then bytes before comparing. Default: 0. |
| -s VALUE, --skip-chars VALUE | Skip fields, then bytes before comparing. Default: 0. |
| -z, --zero-terminated | Use NUL-delimited records. |
| --help | Show help. |
| --version | Show the version. |