ysort 0.1.34

The sort command of the Younix application
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 3 items with examples
  • Size
  • Source code size: 11.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 51.3 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ibilalkayy/younix
    6 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ibilalkayy

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.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