tldr/pages/common/cowsay.md

25 lines
504 B
Markdown
Raw Normal View History

2016-01-02 22:59:49 +00:00
# cowsay
2017-04-18 22:20:43 +01:00
> Generate an ASCII character (by default a cow) saying or thinking something.
2019-06-09 00:05:29 +01:00
> More information: <https://github.com/tnalpgge/rank-amateur-cowsay>.
2016-01-02 22:59:49 +00:00
2021-04-13 19:07:18 +01:00
- Print an ASCII cow saying "Hello world":
2016-01-02 22:59:49 +00:00
2021-04-13 19:07:18 +01:00
`cowsay "Hello world"`
2016-01-02 22:59:49 +00:00
2021-04-13 19:07:18 +01:00
- Read text from stdin for the balloon:
2019-06-14 18:13:39 +01:00
2021-04-13 19:07:18 +01:00
`echo "Hello" | cowsay`
2019-06-14 18:13:39 +01:00
2017-05-24 23:01:10 +01:00
- List all available characters:
`cowsay -l`
2021-04-13 19:07:18 +01:00
- Print an ASCII dragon saying "Hello":
2016-01-02 22:59:49 +00:00
2021-04-13 19:07:18 +01:00
`cowsay -f dragon "Hello"`
2016-01-02 22:59:49 +00:00
- Print a stoned thinking ASCII cow:
2016-01-02 22:59:49 +00:00
2021-04-13 19:07:18 +01:00
`cowthink -s "I'm just a cow, not a great thinker..."`