knowledge/technology/applications/cli/huniq.md

20 lines
620 B
Markdown
Raw Normal View History

2023-12-04 10:02:23 +00:00
---
obj: application
repo: https://github.com/koraa/huniq
---
2024-03-19 08:25:42 +00:00
2023-12-04 10:02:23 +00:00
# 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
2024-01-17 08:44:04 +00:00
-c, --count Output the amount of times a line was encountered
2023-12-04 10:02:23 +00:00
2024-01-17 08:44:04 +00:00
-d, --delim <delim> Which delimiter between elements to use. [default: "\n"]
2023-12-04 10:02:23 +00:00
2024-01-17 08:44:04 +00:00
-s, --sort Sort output by the number of occurences, in ascending order
2023-12-04 10:02:23 +00:00
2024-01-17 08:44:04 +00:00
-S, --sort-descending Order output by the number of occurences, in descending order
2023-12-04 10:02:23 +00:00
```