Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "getopts" bugs and bad interactions with "shift"
- X-seq: zsh-workers 8769
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: "getopts" bugs and bad interactions with "shift"
- Date: Wed, 24 Nov 1999 12:50:22 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Tue, 23 Nov 1999 21:40:38 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Don't have any real opinion on this getopts business, just want to ask
a question...
Bart Schaefer wrote:
> ...
> shift $OPTIND # $((OPTIND-1)) if 3.0.7 or before
> ...
> return $ret
I think, when *you* do this kind of stuff, you have a good reason, so:
why the `$'s (and even `$((...))')? Compatibility with other shells?
Bye
Sven
P.S.: They both matheval() their arguments...
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author