| Meow, Cat! |
\
|\_/|
=^.^=
|||\)
catsay is a cowsay alternative written in POSIX-compliant shell script. It displays messages in a speech bubble with an ASCII cat.
-
Make the script executable:
chmod +x catsay
-
Copy it to any directory in your
PATH. The recommended location is~/.local/bin:cp catsay ~/.local/bin/ -
Ensure the directory is in your
PATH. If not, add the following to your shell configuration file:export PATH="$HOME/.local/bin:$PATH"
With arguments:
catsay hello worldWith piped input:
echo "hello world" | catsayMultiline input:
printf "line one\nline two\nline three" | catsayWith fortune:
fortune | catsayEmpty input displays default message:
catsay- POSIX-compliant shell script
- Handles multiline text
- Auto-adjusts box width to longest line
- Works with piped input or arguments
- Pure ASCII art (maximum compatibility)
This project is licensed under WTFPL.
This project follows the HGG.