Merging Bash sources

Simon Wistow simon at thegestalt.org
Wed Nov 11 17:15:38 GMT 2009


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.
 


More information about the london.pm mailing list