ysort

Crates.ioysort
lib.rsysort
version0.1.34
created_at2025-08-13 09:21:24.077547+00
updated_at2025-08-20 18:39:30.580169+00
descriptionThe sort command of the Younix application
homepage
repositoryhttps://github.com/ibilalkayy/younix
max_upload_size
id1793465
size11,458
Bilal Khan (ibilalkayy)

documentation

README

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
    
Commit count: 98

cargo fmt