An open API service indexing awesome lists of open source software.

https://github.com/callmesalmon/cowsay

Simple cowsay program in perl.
https://github.com/callmesalmon/cowsay

cowsay cowsay-clone perl

Last synced: 2 months ago
JSON representation

Simple cowsay program in perl.

Awesome Lists containing this project

README

          

Cowsay
======
This is just another cowsay ripoff to be honest... Cowsay is a thing that makes the cow... Say!
E.g if I were to run "cowsay.pl" with the flag "Hello World!", the program world print:

______________
< Hello World! >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

It also happens to include other cows with the "-f" flag:

#> ./cowsay.pl -f tux "Hello World!"

______________
< Hello World! >
--------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/

Use "cowsay -l" to list all cowfiles:

#> ./cowsay.pl -l
Cow files in ./cows:
daemon default dragon koala meow moose sheep stegosaurus tux vader

Use "cowsay -e" to change eye graphic:

#> ./cowsay.pl -e "O " "I am a cyclops!"

_________________
< I am a cyclops! >
-----------------
\ ^__^
\ (O )\_______
(__)\ )\/\
||----w |
|| ||

Requirements
------------
* https://learn.perl.org/installing/
* https://git-scm.com/downloads or https://github.com/cli/cli#installation

Installation
------------
To install, clone the repo:

#> git clone https://github.com/ElisStaaf/cowsay ~/cowsay

OR

#> gh repo clone ElisStaaf/cowsay ~/cowsay

OPTIONALLY ADD TO PATH

#> echo "export PATH=\"\$PATH:$HOME/cowsay\"" >> "your/shell/rc"