From 39c288d9771b916e29d842e3c6b5709435e59756 Mon Sep 17 00:00:00 2001 From: Jeef Date: Fri, 3 Feb 2017 16:13:52 -0500 Subject: [PATCH] Update cowsay.md Print for the different options --- pages/common/cowsay.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/common/cowsay.md b/pages/common/cowsay.md index c38968923..e96e9f2bf 100644 --- a/pages/common/cowsay.md +++ b/pages/common/cowsay.md @@ -1,6 +1,8 @@ # cowsay > Generate an ASCII character like a cow or sheep saying or thinking something. +> Available characters are stored in the /usr/share/cowsay on Linux. +> and /usr/local/share/cows/ on Mac. directory. - Print an ASCII cow saying "Hello world!": @@ -13,3 +15,8 @@ - Print a stoned thinking ASCII cow: `cowthink -s "I'm just a cow, not a great thinker ..."` + +- Print out a list of all characters with cowsay: + +`ls -1 {{cowsay_character_directory}} | rev | cut -c 5- | rev | xargs -I _ cowsay -f _ cowsay -f _` +