Re: command getopts unknown when bash invoked as sh
From:
Chet Ramey
Subject:
Re: command getopts unknown when bash invoked as sh
Date:
Thu, 26 Jun 2003 13:48:39 -0400
> "Juergen Gohlke" <Juergen.Gohlke@bruker.de> wrote:
> > Description:
> > when the GNU shell is invoked as sh, it does not know the
> > command getopts, instead prints the error "getopts: not found"
>
> I can't reproduce this (but I'm using all the official patches). Are
> you sure your sh is actually bash? What does "sh --help" say?
He's using cygwin, where sh is actually ash.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/