1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

cowsay: refresh (#5934)

This commit is contained in:
CleanMachine1 2021-05-20 20:18:23 +01:00 committed by GitHub
parent 23b9d8fe69
commit e37e98442b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,28 @@
# cowsay
> Generate an ASCII character (by default a cow) saying or thinking something.
> Print ASCII art (by default a cow) saying or thinking something.
> More information: <https://github.com/tnalpgge/rank-amateur-cowsay>.
- Print an ASCII cow saying "Hello world":
- Print an ASCII cow saying "hello, world":
`cowsay "Hello world"`
`cowsay "{{hello, world}}"`
- Read text from stdin for the balloon:
- Print an ASCII cow saying text from stdin:
`echo "Hello" | cowsay`
`echo "{{hello, world}}" | cowsay`
- List all available characters:
- List all available art types:
`cowsay -l`
- Print an ASCII dragon saying "Hello":
- Print the specified ASCII art saying "hello, world":
`cowsay -f dragon "Hello"`
`cowsay -f {{art}} "{{hello, world}}"`
- Print a stoned thinking ASCII cow:
- Print a dead thinking ASCII cow:
`cowthink -s "I'm just a cow, not a great thinker..."`
`cowthink -d "{{I'm just a cow, not a great thinker...}}"`
- Print an ASCII cow with custom eyes saying "hello, world":
`cowsay -e {{characters}} "{{hello, world}}"`