Eric Hodel <drbrain / segment7.net> writes:
> 6 lines too many (counting my shebang with -s):

Sure, if -s is sufficient for your purposes.

As for me, I don't like how it clobbers globals. What if someone
invokes your -s enabled script with the option '-stdout' ?

ouch.

Well, I guess I don't understand the issue. optparse is concise
enough for me, in comparison with other means of parsing options
like getoptlong.

-Loris