cowsay
Page Module:Infobox/styles.css has no content.
| cowsay | |
|---|---|
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. | |
| [[Programmer|Original authorTemplate:Pluralize from text]] | Tony Monroe |
| Initial release | 1999 |
| Written in | Perl |
| Operating system | Cross-platform |
| Available in | English |
| License | Artistic License / GNU General Public License |
| Website | No URL found. Please specify a URL here or add one to Wikidata. |
Script error: No such module "Check for conflicting parameters".
Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
cowsay is a program that generates ASCII art pictures of a cow with a message.[1] It can also generate pictures using pre-made images of other animals, such as Tux the Penguin, the Linux mascot. It is written in Perl. There is also a related program called Page Template:Mono/styles.css has no content.cowthink, with cows with thought bubbles rather than speech bubbles. .cow files for cowsay exist which are able to produce different variants of cows, with different kinds of eyes, and so forth.[2] It is sometimes used on IRC, desktop screenshots, and in software documentation. It is more or less a joke within hacker culture, but has been around long enough that its use is rather widespread. In 2007, it was highlighted as a Debian package of the day.[3]
Example
The Unix command Page Template:Mono/styles.css has no content.fortune can also be piped into the Page Template:Mono/styles.css has no content.cowsay command:
[user@hostname ~]$ fortune | cowsay
________________________________________
/ You have Egyptian flu: you're going to \
\ be a mummy. /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Using the parameter Page Template:Mono/styles.css has no content.-f followed by Page Template:Mono/styles.css has no content.tux, one can replace the cow with other beings, such as Tux, the Linux mascot:
[user@hostname ~]$ fortune | cowsay -f tux
_________________________________________
/ You are only young once, but you can \
\ stay immature indefinitely. /
-----------------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
Using the parameter Page Template:Mono/styles.css has no content.-l shows all available cow files:
[user@hostname ~]$ cowsay -l
Cow files in /usr/share/cowsay/cows:
apt bud-frogs bunny calvin cheese cock cower daemon default dragon
dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep fox
ghostbusters gnu hellokitty kangaroo kiss koala kosh luke-koala
mech-and-cow milk moofasa moose pony pony-smaller ren sheep skeleton
snowman stegosaurus stimpy suse three-eyes turkey turtle tux unipony
unipony-smaller vader vader-koala www
Parameters
| Option | Purpose |
|---|---|
| -n | Disables word wrap, allowing the cow to speak FIGlet or to display other embedded ASCII art. Width in columns becomes that of the longest line, ignoring any value of Page Template:Mono/styles.css has no content.-W. Only works with text from stdin. |
| -W | Specifies width of the speech balloon in columns, i.e. characters in a monospace font. Default value is 40. |
| -b | “Borg mode”, uses Page Template:Mono/styles.css has no content.== in place of Page Template:Mono/styles.css has no content.oo for the cow′s eyes. |
| -d | “Dead”, uses Page Template:Mono/styles.css has no content.XX, plus a descending Page Template:Mono/styles.css has no content.U to represent an extruded tongue, also used on Linux kernel oops. |
| -g | “Greedy”, uses Page Template:Mono/styles.css has no content.$$. |
| -p | “Paranoid”, uses Page Template:Mono/styles.css has no content.@@. |
| -s | “Stoned”, uses Page Template:Mono/styles.css has no content.** to represent bloodshot eyes, plus a descending Page Template:Mono/styles.css has no content.U to represent an extruded tongue. |
| -t | “Tired”, uses Page Template:Mono/styles.css has no content.--. |
| -w | “Wired”, uses Page Template:Mono/styles.css has no content.OO. |
| -y | “Youthful”, uses Page Template:Mono/styles.css has no content... to represent smaller eyes. |
| -e eye_string | Manually specifies the cow′s eye-type, e.g. Page Template:Kbd/styles.css has no content.cowsay -e ^^ (see Eastern-style emoticon).[4] |
| -T tongue_string | Manually specifies the cow′s tongue shape, e.g. Page Template:Kbd/styles.css has no content.cowsay -T \(\) for a pair of parentheses.[4] |
| -f cowfile | Specifies a .cow file from which to load alternative ASCII art. Accepts both absolute file-paths and those relative to the environment variable Page Template:Mono/styles.css has no content.COWPATH. |
| -l | Lists the names of available cow-files in the Page Template:Mono/styles.css has no content.COWPATH directory instead of displaying a quote. |
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content.Orr, Mike (June 2001). "cowsay--ASCII Art for Your Screen". Linux Gazette. Archived from the original on 2012-03-19. Retrieved 2012-04-24.
- ^ Page Module:Citation/CS1/styles.css has no content.Newborough, Philip (2007-10-05). "A Virtual Richard Stallman for Cowsay Hack". Archived from the original on 2011-07-25.
- ^ Page Module:Citation/CS1/styles.css has no content.Beshenov, Alexey (2007-10-28). "cowsay: a configurable talking and thinking cow". Debian Package of the Day. Archived from the original on 2007-10-30. Retrieved 2022-01-31.
- ^ a b Characters other than printable in C0 controls and basic Latin (U+0021–U+007E) will not display properly as these parameters accept only the first two bytes of input value. Using a pre-defined cow-face will over-ride any value of Page Template:Mono/styles.css has no content.-e and Page Template:Mono/styles.css has no content.-T.
- Sandra Henry-Stocker (Dec 15, 2020). "Creating your own cowsay messenger". Unix as a Second Language; Network World. networkworld.com. Retrieved 21 September 2023.
- c't Spaß mit Technik (2018): Einfache Computerprojekte zum Selbermachen. p. 120. c't-Redaktion; Heise Medien GmbH & Co. KG. Template:Isbn. Retrieved 21 September 2023.
- Sreenath (5 July 2023). "Moo! There is a Cow in My Linux Terminal". It's FOSS. itsfoss.com. Retrieved 21 September 2023.
External links
- Page Module:Citation/CS1/styles.css has no content."Official website". Archived from the original on February 25, 2012. Retrieved December 25, 2004.
- Cowsay Android package at the F-Droid repositoryTemplate:Edit at Wikidata