My weekend project: A top-down space shooter in Bash Note: Bash is SLOW. This requires an Intel Core Solo or better to run well. Comments welcome. Patches twice as welcome. Link: http://www.dhampir.no/stuff/bash/shellshock.bash Update: Since the name “ShellShock” was used as a nickname for a Bash exploit, this game has received a whole lot of attention. […]
ghacks.net has an excellent article on how to do this. I archived it here.
geirha in #bash on irc.freenode.net had this solution, which I rather liked and wanted to keep for later use: hybrid_getopts.bash