2016-01-02 22:59:49 +00:00
|
|
|
# cowsay
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Generate an ASCII character like a cow or sheep saying or thinking something.
|
2017-02-03 21:13:52 +00:00
|
|
|
> Available characters are stored in the /usr/share/cowsay on Linux.
|
2017-02-06 15:54:48 +00:00
|
|
|
> And /usr/local/share/cows/ on Mac.
|
2016-01-02 22:59:49 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print an ASCII cow saying "Hello world!":
|
2016-01-02 22:59:49 +00:00
|
|
|
|
|
|
|
`cowsay "Hello world!"`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print an ASCII dragon saying "Hello!":
|
2016-01-02 22:59:49 +00:00
|
|
|
|
|
|
|
`echo "Hello!" | cowsay -f dragon`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print a stoned thinking ASCII cow:
|
2016-01-02 22:59:49 +00:00
|
|
|
|
|
|
|
`cowthink -s "I'm just a cow, not a great thinker ..."`
|
2017-02-03 21:13:52 +00:00
|
|
|
|
2017-02-03 21:18:11 +00:00
|
|
|
- Print out a list of all characters with cowsay:
|
2017-02-03 21:13:52 +00:00
|
|
|
|
|
|
|
`ls -1 {{cowsay_character_directory}} | rev | cut -c 5- | rev | xargs -I _ cowsay -f _ cowsay -f _`
|