Created
August 31, 2012 11:29
-
-
Save olegwtf/3551687 to your computer and use it in GitHub Desktop.
The only real random cowsay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do fortune | cowsay -f $(ls -d1 /usr/share/cowsay/cows/* | shuf | head -n1) "$([ $[$RANDOM%10] == 0 ] || echo "-"$(echo -e "b\nd\ng\np\ns\nt\nw\ny"|shuf|tail -n1))" && sleep 3; done |
Тут -s тоже используется. Точнее по рандому одно из -b -d -g -p -s -t -w -y
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-s язык показывает. но только на корове вроде работает