6 releases
Uses new Rust 2024
| 0.1.34 | Aug 20, 2025 |
|---|---|
| 0.1.33 | Aug 20, 2025 |
#2774 in Command line utilities
213 downloads per month
Used in younix
4KB
Younix cat Command
The cat command in Younix outputs the contents of a file line-by-line, similar to the Unix cat utility. It is designed to be fast, safe, and easy to use, built with Rust.
Usage
younix cat [OPTIONS]
Options
| Option | Description |
|---|---|
-p, --path <PATH> |
Path to the file to display (default: .) |
-n, --number |
Add line numbers to the output |
-h, --help |
Print help information |
Examples
-
Display the contents of
file.txt:younix cat -p file.txt -
Display
file.txtwith line numbers:younix cat -p file.txt -n
Dependencies
~1.7–6MB
~135K SLoC