From: Richard Sharpe <sharpe () ns ! aus ! com>
To: tru64-unix-managers
Subject: Problems with Bourne Shell and getopt/optind
Date: Sat, 09 Jan 1999 07:02:07 +0000 [thread overview]
Message-ID: <96079034715487.tru64-unix-managers.marc@archive.invalid> (raw)
Hi folks,
I have seen reports that suggest that the Bourne shell under Digital UNIX
has problems with $OPTIND when using getopt.
When I last looked, there seemed to be a problem if there are no command
line parameters to a shell, $OPTIND seems undefined.
However, reports I have seen suggest that $OPTIND may be undefined in all
cases.
Can anyone comment?
The reason I ask is that I am trying to track down a problem with smbtar
from Samba, as the maintainer of that software. And, while I have access
to Digital UNIX systems, my deadlines for the 8 chapters on the Samba book
I am helping to write are very close. A lame excuse, I know, for asking
other people to do my legwork, but it is the best I can do at the moment.
Regards
-------
Richard Sharpe, sharpe@ns.aus.com, NIC-Handle:RJS96
NS Computer Software and Services P/L,
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080,
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...
reply other threads:[~1999-01-09 7:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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