This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: B20.1: bash getopts?
- To: cygwin@sourceware.cygnus.com
- Subject: RE: B20.1: bash getopts?
- From: Robert Story <rstory-l@revelstone.com>
- Date: Mon, 2 Aug 1999 22:59:44 -0400
- References: <03F4742D8225D21191EF00805FE62B990205E227@AA-MSG-01>
I wrote :
>
> I'm trying to run a bash script which uses getopts under cygwin. The
> script works on my linux box, but reports 'getopts not found' under
> cygwin.
>
> #/bin/bash
> [snip]
A helpful soul responded:
>sounds like you're not really using bash, but
>
>how about changing your first line to #!/bin/bash instead of #/bin/bash ?
>
Doh! I can't believe I missed that. Please pass the DUNCE cap, and
I'll go sit in the corner. :-(
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com