From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: "getopts" bugs and bad interactions with "shift"
Date: Wed, 24 Nov 1999 12:50:22 +0100 (MET) [thread overview]
Message-ID: <199911241150.MAA15227@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Tue, 23 Nov 1999 21:40:38 +0000
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@informatik.hu-berlin.de
next reply other threads:[~1999-11-24 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-24 11:50 Sven Wischnowsky [this message]
1999-11-24 17:44 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1999-11-23 18:08 Bart Schaefer
1999-11-23 18:22 ` Adam Spiers
1999-11-23 21:40 ` Bart Schaefer
1999-11-23 20:36 ` Zefram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199911241150.MAA15227@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).