From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079038515594.tru64-unix-managers.marc@archive.invalid> From: "Edwin R Wolfe Jr." Date: Wed, 10 Mar 1999 16:34:37 +0000 To: tru64-unix-managers Subject: Summary: getopts fails X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079038515594 Thanks to: Ian Mortimer James Sainsbury Phil Thomas Larry Griffith Gavin Kreuiter Bob Vickers Dejan Muhamedagic Randy Rodgers cat /usr/bin/getopts shows it to be a script that invokes the ksh builtin getopts, which is not supported by sh. That's why the #!/usr/bin/ksh at the top of 'myscript' makes it work. Ya'd think the man page would mention that??