Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mark@cita.toronto.edu (Mark Bartelt)
Subject: Re: How (if at all) does one use "getopts" with /bin/sh?
Date: 1998/02/19	[thread overview]
Message-ID: <EoMoEx.748@utcc.utoronto.ca> (raw)
In-Reply-To: EoMLvJ.MEC@utcc.utoronto.ca


Well, as is often the case, *that* one got solved quickly.  Many
thanks to Paul A Sand <pas@unh.edu>, who suggested that setting
my BIN_SH environment variable to "xpg4" might make things work.
And that does it.

Also, as is often the case, the question could have been avoided
altogether with a bit more RTFM.  I *did* RTFMpage for "getopts",
but it doesn't mention BIN_SH; I should have RTFMpage for /bin/sh
as well, where that environment variable is discussed.  (It might
be nice if it were also mentioned in the "getopts" page.)

Anyway, thanks to Paul, and thanks in advance to all of you whose
replies haven't made it to my mailbox yet.

Mark Bartelt                                         416/978-5619
Canadian Institute for                      mark@cita.utoronto.ca
Theoretical Astrophysics        http://www.cita.utoronto.ca/~mark

"Nur eine Waffel taugt!"    --    Parsifal, in an Eggo commercial



      reply	other threads:[~1998-02-19  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-19  5:00 How (if at all) does one use "getopts" with /bin/sh? Mark Bartelt
1998-02-19  5:00 ` Mark Bartelt [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox