RAT
The opposite of UNIX's cat, less bloated, and in Rust.
About the project
The idea of this CLI is
"A CLI program that is basically UNIX's cat commant (show the file's content in terminal), but less bloated and in a different language."
Why i did this?
Because i've noticed that the UNIX's cat code is bloated, with more than 800 lines, and i said, why not make the things more simple? And i did this to show people that i can do more than i think i can
Want to use it?
Then do the following.
Binary
Just download the binary available in this repository and move it to /usr/local/bin
(or any other dir in $PATH
)
$ sudo mv <rat's binary file> /usr/local/bin/
And to use it, just run
$ rat <file>
Clone and compile
Just clone this repository (downloading it or cloning with git clone <repo URL>
)
$ make
to only compile it
$ sudo make install
to install on a compatible binary directory (/usr/local/bin/) and make it executable
And to use it, just run
$ rat <file>
Want to code on it?
Its simple!
Just clone this repository (downloading it or cloning with git clone <repo URL>
)
Do your modifications
And compile it.
I made a Makefile to make things easier, if you want to install it "manually", then do:
$ cargo build
or
$ cargo run <file>
But if you want to compile with make
, then:
$ make
to only compile it
and in sequence
$ sudo make install
to install on a compatible binary directory (/usr/local/bin/) and make it executable
Want to contact me?
Simple!
Just e-mail me at [email protected]
or
Send me a message in Telegram
Pro tip
You can use multiple files in this program, just like in cat:
$ rat file1 file2
Made with love by @renan4nandes