knowledge/technology/applications/cli/huniq.md
2023-12-04 11:02:23 +01:00

20 lines
No EOL
651 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
obj: application
os: linux
repo: https://github.com/koraa/huniq
---
# Huniq
[Repo](https://github.com/koraa/huniq)
Command line utility to remove duplicates from the given input. Note that huniq does not sort the input, it just removes duplicates.
## Usage
Flags:
```shell
-c, --count      Output the amount of times a line was encountered
-d, --delim <delim>        Which delimiter between elements to use. [default: "\n"]
-s, --sort                     Sort output by the number of occurences, in ascending order
-S, --sort-descending          Order output by the number of occurences, in descending order
```