myownlittlworld
Member
- Joined
- Aug 20, 2010
- Messages
- 179
While waiting for production to start on Batch 2, I decided to do something silly this weekend.
Cowsay is awesome, because it's cows saying stuff. Fortune is cool, because it can display stuff. You can combine the two by giving fortune's output to cowsay:
As much fun as that is, the cows got kinda boring after a while. So, I decided to make cowsay_random, which produces a random cow every time. The fortunes got boring too, so I decided to transform The Devil's Dictionary into fortune format.
Now, by adding a line to my ~/.bashrc, I can have random cows saying hilarious things every time I open a console:
Cowsay is awesome, because it's cows saying stuff. Fortune is cool, because it can display stuff. You can combine the two by giving fortune's output to cowsay:
Code:
cowsay `fortune`
As much fun as that is, the cows got kinda boring after a while. So, I decided to make cowsay_random, which produces a random cow every time. The fortunes got boring too, so I decided to transform The Devil's Dictionary into fortune format.
Now, by adding a line to my ~/.bashrc, I can have random cows saying hilarious things every time I open a console:
Code:
cowsay_random -W 80 `fortune`
Code:
____________________________________________________________________________
( How long a minute is depends on which side of the bathroom door you're on. )
----------------------------------------------------------------------------
o
o /\/\
\ /
| 0 >>
|___|
__((_<| |
( |
(__________)
| |
| |
/\ /\
Last edited by a moderator: