2 releases

Uses new Rust 2024

0.1.34 Aug 20, 2025
0.1.32 Aug 13, 2025

#43 in #cat

Download history 7/week @ 2025-09-11 1/week @ 2025-09-18 6/week @ 2025-09-25 1/week @ 2025-10-09 9/week @ 2025-10-16

52 downloads per month
Used in younix

Apache-2.0

4KB

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
    

Dependencies

~1.7–6MB
~136K SLoC