public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Robert Story <rstory-l@revelstone.com>
To: cygwin@sourceware.cygnus.com
Subject: RE: B20.1: bash getopts?
Date: Tue, 31 Aug 1999 23:49:00 -0000	[thread overview]
Message-ID: <v04210105b3cc0ac5f0ac@[207.69.181.181]> (raw)
Message-ID: <19990831234900.CW7ZBLY_s1nrFoZ1ES90fur6syJoD_Dsu1wN0AVpC2s@z> (raw)
In-Reply-To: <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

       reply	other threads:[~1999-08-31 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <03F4742D8225D21191EF00805FE62B990205E227@AA-MSG-01>
1999-08-02 19:58 ` Robert Story [this message]
1999-08-31 23:49   ` Robert Story
1999-08-02 13:14 Robert Story
1999-08-02 17:09 ` Tim Davidson
1999-08-31 23:49   ` Tim Davidson
1999-08-31 23:49 ` Robert Story

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='v04210105b3cc0ac5f0ac@[207.69.181.181]' \
    --to=rstory-l@revelstone.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).