rust-minicat
is a simplified version of the cat
Unix command for concatenating and displaying file content written in Rust programming language. This command line tool comes with features such as line numbering and non-blank line numbering.
- Multiple file support: You can specify multiple files to read.
- Line numbering: It has an option to number all output lines.
- Non-blank line numbering: Only non-blank lines can be numbered if you want.
For running the project, using cargo run
is recommended, otherwise just run:
rust-minicat [FLAGS] [FILES]
- FLAGS:
- -n: Number all output lines.
- -b: Number only non-blank output lines.
Note: The number and nonblank options are mutually exclusive.
- FILES: Files to read
The project consists of the single main file and library that contains all the logic and the config struct as well.
No tests are provided as of now
We welcome contributions of all kinds to this project. Whether it's bug fixes, new features, or updating the documentation, your help is greatly appreciated! Please feel free to create issues and submit pull requests on Github.
This project is licensed under the MIT license