delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/02/23:00:41

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: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Mime-Version: 1.0
Message-Id: <v04210105b3cc0ac5f0ac@[207.69.181.181]>
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 <rstory-l AT revelstone DOT com>
Subject: RE: B20.1: bash getopts?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019