2 releases
Uses new Rust 2024
| 0.1.34 | Aug 20, 2025 |
|---|---|
| 0.1.32 | Aug 13, 2025 |
#43 in #cat
52 downloads per month
Used in younix
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