David M Williams
Thursday, 25 December 2008 12:59
Opinion and Analysis
If "Jingle Bells" was a Linux shell script it might look something like this.
Sure, you've all heard it this way:
Dashing through the snow
In a one horse open sleigh
O'er the fields we go
Laughing all the way
Bells on bob tails ring
Making spirits bright
What fun it is to laugh and sing
A sleighing song tonight
Oh, jingle bells, jingle bells
Jingle all the way
Oh, what fun it is to ride
In a one horse open sleigh
Jingle bells, jingle bells
Jingle all the way
Oh, what fun it is to ride
In a one horse open sleigh
... but have you seen the Linux version before?
% time snow
% OneHorseOpenSleigh > fields
% banner lol
% echo ^G > BobTails
% make SpiritsBright
% man fun | Laugh && Sing
% date > SleighingSong
% echo ^G^G
% echo ^G^G
% echo ^G^G^G^G^G^G^G^G^G^G
% man fun | OneHorseOpenSleigh
% echo ^G^G
% echo ^G^G
% echo ^G^G^G^G^G^G^G^G^G^G
% man fun | OneHorseOpenSleigh
Ok, sure, this is corny but I hope you and your family have a happy festive season! Feel free to post comments if you have better suggestions for carol-to-command mappings!
For the slightly more juvenile, I'll leave you with one line from an alternate version ;)
wonderwoman% find / -name bosom -print
(Need help with this Christmas Carol? The explantion is here!)