Cat's clone is a the cat
command at a very basic level.
There are 2 ways of installing it. The first one involves compiling from source and the other is just moving the binary to the desired location that is in most cases[/usr/bin/]
To download the repo use git or download it as a zip
downloading using git:
git clone https://github.com/mrHola21/cat_clone.git
cd cat_clone/
To compile from source use your preffered compiler. In this case I will be using gcc
gcc src/main.c -o bin/pussy
To move the bin to the desired location in this case [/usr/bin/]
# mv bin/pussy usr/bin/
This will print the contents of the file
pussy {file}
You can also print the contents of multiple files using
pussy {file} {file1} {file2}
You can also add the clear flag by using -c
pussy {file} -c
*Would need exteral tools
This will print coloured text
pussy {file} | lolcat
This will ease your viewing with big files
pussy {file} | less
This is for filtering contents
pussy {file} | grep lol
cat does not tell the number of words but this does :)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.