in reply to Using -- to terminate switch processing
I'd have to ask you collegue: Why? What (potential) errors does the addition of the '--' prevent?
Whilst the system I use does not depend upon the shebang line to find the executable, it does respect most switches applied via a shebang line. Adding additional, non-switch tokens after the switches, with or without the presence of '--' has no discernable effect upon the function of the script. Therefore I see no reason to add the '--'.
I'd be interested to know if there are any effects or caveats that I haven't yet discerned.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using -- to terminate switch processing
by Kanji (Parson) on Mar 26, 2003 at 18:28 UTC | |
by bsb (Priest) on Mar 30, 2003 at 05:02 UTC |