| Crates.io | ywc |
| lib.rs | ywc |
| version | 0.1.34 |
| created_at | 2025-08-13 09:22:05.329698+00 |
| updated_at | 2025-08-20 18:41:28.267275+00 |
| description | The wc command of the Younix application |
| homepage | |
| repository | https://github.com/ibilalkayy/younix |
| max_upload_size | |
| id | 1793467 |
| size | 11,435 |
wc CommandThe wc command in Younix counts lines, words, and bytes in a file, similar to the Unix wc utility. It allows selective counting through flags.
younix wc [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 |
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