From: Bob Vickers <bobv@dcs.rhbnc.ac.uk>
To: Gaylord Holder <holder@phy.ucsf.edu>
Subject: Re: /usr/bin/getopts under DU4.0a
Date: 1997/04/15 [thread overview]
Message-ID: <335359EA.41C6@dcs.rhbnc.ac.uk> (raw)
In-Reply-To: 3352AED8.167E@phy.ucsf.edu
Gaylord Holder wrote:
>
> /usr/bin/getopts seems to work fine under /bin/ksh, but not under
> /bin/sh in 4.0a.
>
> Does anyone know if this is a feature?
>
Hi,
Can you be more explicit? getopts is a ksh builtin, so under ksh you
won't execute /usr/bin/getopts unless you explicitly ask for it.
I don't know what /usr/bin/getopts does under 4.0, but the 3.2 version
looks utterly pointless. getopts is meant to set shell variables, but it
can't possibly do this if invoked as a separate process.
Bob
--
======================================================================
Bob Vickers R.Vickers@rhbnc.ac.uk
Dept of Computer Science, Royal Holloway College, University of London
WWW: http://www.dcs.rhbnc.ac.uk/%7Ebobv/
Phone: +44 1784 443691
next prev parent reply other threads:[~1997-04-15 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-14 4:00 /usr/bin/getopts under DU4.0a Gaylord Holder
1997-04-15 4:00 ` Jonathan Chen
1997-04-15 4:00 ` Bob Vickers [this message]
1997-04-15 4:00 ` Charles M Richmond
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