From: Clint Olsen <olsenc@ichips.intel.com>
To: zsh-workers@math.gatech.edu
Subject: getopts broken in 3.0.2
Date: Tue, 26 Aug 1997 11:33:13 -0700 [thread overview]
Message-ID: <19970826113313.16000@dtthp169.jf.intel.com> (raw)
Wow, I was almost deafened by the silence of my last request. Anyway, I
switched the shell to use "bash" and getopts works just fine there. I
believe we have a bug, cap'n.
while getopts G2rd: OPT
do
case $OPT in
'2'|'r'|'G') GENARG=($GENARG -$OPT) ;;
'd') echo printer is $OPTARG ;; #LPARG=-d$OPTARG ;;
'?') echo $0:t: Unknown option $OPTARG; exit 1 ;;
':') echo $0:t: Option required for $OPTARG; exit 1 ;;
esac
done
-Clint
next reply other threads:[~1997-08-26 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-26 18:33 Clint Olsen [this message]
1997-08-26 19:31 ` Zoltan T. Hidvegi
-- strict thread matches above, loose matches on Subject: below --
1997-01-28 19:12 blaise
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=19970826113313.16000@dtthp169.jf.intel.com \
--to=olsenc@ichips.intel.com \
--cc=zsh-workers@math.gatech.edu \
/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).