| Crates.io | ysort |
| lib.rs | ysort |
| version | 0.1.34 |
| created_at | 2025-08-13 09:21:24.077547+00 |
| updated_at | 2025-08-20 18:39:30.580169+00 |
| description | The sort command of the Younix application |
| homepage | |
| repository | https://github.com/ibilalkayy/younix |
| max_upload_size | |
| id | 1793465 |
| size | 11,458 |
sort CommandThe sort command in Younix sorts lines in a file, similar to the Unix sort utility. It supports reverse and numeric sorting options.
younix sort [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 |
Sort data.txt alphabetically:
younix sort -f data.txt
Sort data.txt in reverse order:
younix sort -f data.txt -r
Sort numbers.txt numerically:
younix sort -f numbers.txt -n