getopts problem

Christopher Faylor cygwin@sourceware.cygnus.com
Tue Nov 9 06:01:00 GMT 1999


On Tue, Nov 09, 1999 at 01:44:00PM +0000, Clive Bostock wrote:
>Hi, I've recently been developing a shell script using B19
>of CYGWIN. I hit a problem with awk and so upgraded to B20.
>This fixed the awk problem. However I now find that unless 
>the 1st line of the shell script has the #!path_to_bash/bash 
>included, bash errors with "getopts not found".

/bin/sh != /bin/bash 

That's why.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list