______________________
| |
| A tiny CLI tool that |
| t will meowify your |
| files! |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| | .||. | |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|
Copyright © Tim K/RoverAMD 2019 <[email protected]>
As you’ve probably guessed already, this is a replacement for the cat
command-line tool, but all of the file output is meowified, just like in cowsay
, but with cats, not cows.
Needs Tcl 8.4 or newer to operate and nothing else. On Ubuntu, install Tcl with sudo apt-get install tclsh -y
.
$ sudo curl -o /usr/local/bin/meowcat http://meow.roveramd.com/meowcat.tcl
$ sudo chmod 755 /usr/local/bin/meowcat
If you prefer meowcat
over regular cat
, create an alias to meowcat
from cat
:
$ alias cat=meowcat
meowcat <additional flags> <files>
Available flags:
-
-u - draws a happy cat with an UwU face.
-
-h<rows> - height of the cat’s body in stdout rows. Default value is 6.
-
-f<offset> - offset from the left. Default value is 5.
You can specify - as the input filename to read from stdin.
Examples:
$ meowcat -h4 -f2 /etc/mandriva-release
______________________
| |
| OpenMandriva Lx rele |
| ease 2014.0 (Phospho |
| orus) for x86_64 |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| | .||. | |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|
$ printf '%s' "I've just imagined that I found a huge fish for dinner." | meowcat -u -
______________________
| |
| I've just imagined t |
| that I found a huge |
| fish for dinner. |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| |/\||/\| |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|