Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Mime-Version: 1.0 Message-Id: In-Reply-To: <03F4742D8225D21191EF00805FE62B990205E227@AA-MSG-01> References: <03F4742D8225D21191EF00805FE62B990205E227 AT AA-MSG-01> Date: Mon, 2 Aug 1999 22:59:44 -0400 To: cygwin AT sourceware DOT cygnus DOT com From: Robert Story Subject: RE: B20.1: bash getopts? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 AT sourceware DOT cygnus DOT com