Stand-alone command-line argument parsing for bash