* Problems with Bourne Shell and getopt/optind
@ 1999-01-09 7:02 Richard Sharpe
0 siblings, 0 replies; only message in thread
From: Richard Sharpe @ 1999-01-09 7:02 UTC (permalink / raw)
To: tru64-unix-managers
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, ...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-01-09 7:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-09 7:02 Problems with Bourne Shell and getopt/optind Richard Sharpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox