ywc

Crates.ioywc
lib.rsywc
version0.1.34
created_at2025-08-13 09:22:05.329698+00
updated_at2025-08-20 18:41:28.267275+00
descriptionThe wc command of the Younix application
homepage
repositoryhttps://github.com/ibilalkayy/younix
max_upload_size
id1793467
size11,435
Bilal Khan (ibilalkayy)

documentation

README

Younix wc Command

The wc command in Younix counts lines, words, and bytes in a file, similar to the Unix wc utility. It allows selective counting through flags.

Usage

younix wc [OPTIONS]

Options

Option Description
-f, --file <FILE> File path to target for counting
-l, --lines Count lines
-w, --words Count words
-b, --bytes Count bytes
-h, --help Print help information

Examples

  • Count lines, words, and bytes in file.txt:

    younix wc -f file.txt -l -w -b
    
  • Count only lines in file.txt:

    younix wc -f file.txt -l
    
  • Count words and bytes in file.txt:

    younix wc -f file.txt -w -b
    
Commit count: 98

cargo fmt