On Wed, Nov 11, 2009 at 01:19:30AM +0000, James Laver said: > Perhaps I'm overlooking something obvious, but why don't you just parse twice? Because I don't know where the config file is until I parse the command line options. I could getArgs . ${config_file} getArgs but I think Bash getopts is destructive.