|
Get serious about your shell scripting skills and maybe you can pull this one off. It’s a game of snake played in a BASH shell. It seems like a coding nightmare, but the final product turns out to be organized well enough for us to understand and took less than 250 lines of code. Check out the comments for more games written in Bash, Sed and other, um... nontraditional ways.
|
|
|
|
|
There is a theory that there's no program that can written that can't be rewritten in 1000 lines or less of recursive self referential Bash script.
There's another theory that most of the several thousand apparently active developers of Bash are in fact trying to be the first to prove this and that is why no actual development of Bash ever gets done.
As each one finally realises that what they need to do is to rewrite Bash in less than 1000 lines of Bash script they are immediately consumed by a quantum singularity due to the universe protecting its own laws of causality. After all once Bash is written in Bash, GCC will not be far behind and very soon the entire universe will be reduced to a line of apparently random symbols and little flashing white bar.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|