in reply to Questions about command line script
On the command line you pass the option -dir with a value 'thumb'. In the code, GetOptions is called with a reference \$out_dir to the variable $out_dir. This function sets the variable to the value passed on the command line, i.e. 'thumb'.
So mkdir makes the specified directory 'thumb' since the default value 'icons' has been overriden.
Hope this helps, -gjb-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Questions about command line script
by Anonymous Monk on Nov 07, 2002 at 21:39 UTC |