in reply to Re^2: Why is it good practice for a cli script to take switch args before file list?
in thread Why is it good practice for a cli script to take switch args before file list?
I can't see any POSIX on that... Where do you see that?
Thanks for that convenient link.
The arguments following the last options and option-arguments are named "operands".
(Emphasis mine.)
Also on that page, under the heading "Utility Syntax Guidelines":
- Guideline 9:
- All options should precede operands on the command line.
"Should" and "guidelines" may not be the strongest of words, but the intent seems clear enough for me.
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why is it good practice for a cli script to take switch args before file list?
by leocharre (Priest) on Jul 19, 2006 at 21:06 UTC |