2 releases
Uses new Rust 2024
| 0.1.34 | Aug 20, 2025 |
|---|---|
| 0.1.32 | Aug 13, 2025 |
#44 in #cat
50 downloads per month
Used in younix
4KB
Younix sort Command
The sort command in Younix sorts lines in a file, similar to the Unix sort utility. It supports reverse and numeric sorting options.
Usage
younix sort [OPTIONS]
Options
| Option | Description |
|---|---|
-f, --file <FILE> |
File to sort (default: .) |
-r, --reverse |
Sort in reverse order |
-n, --number |
Sort numerically |
-h, --help |
Print help information |
Examples
-
Sort
data.txtalphabetically:younix sort -f data.txt -
Sort
data.txtin reverse order:younix sort -f data.txt -r -
Sort
numbers.txtnumerically:younix sort -f numbers.txt -n
Dependencies
~1.8–6.5MB
~143K SLoC