Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 21 Nov 2000 19:06:09 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Possible Bug (never know)
Message-ID: <20001121190609.A13780@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <OFB84E0BB5.8AFF1773-ON8525699E.0077B717@gdls.com> <4.3.1.2.20001121181635.020d7c88@pop.ma.ultranet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <4.3.1.2.20001121181635.020d7c88@pop.ma.ultranet.com>; from lhall@rfk.com on Tue, Nov 21, 2000 at 06:37:29PM -0500

On Tue, Nov 21, 2000 at 06:37:29PM -0500, Larry Hall (RFK Partners, Inc) wrote:
>At 04:56 PM 11/21/2000, schwarza@gdls.com wrote:
>
>>Win 95
>>Compaq Deskpro: a company machine
>>
>>Latest cygwin (Install Now on: Nov 16, 2000)
>>
>>Noticing the following things, don't know if they
>>are problems (other than with me).
>>
>>
>>[1] Under the Bash shell:
>>
>>         grep '\(' <file>  fails with a "grep: Unmatched ( or \("
>>
>>     In a script: grep '\(' does not fail
>
>I get the same failure using bash or ash, in or out of scripts.  I'm
>running the latest of bash/ash and the snapshot version of cygwin (11/20).
>Essentially, the error is "grep: Unmatched ( or \(".  Removing the quotes
>solves the problem.  Is this really a Cygwin issue?

No.  Linux/bash gives the same error, as it should.

>>[2] In cygwin-B20 and in the current version, 'pushd', 'popd'
>>     work in a Bash shell but not in a script.
>
>No problem here.

It's an ash versus bash thing.  ash (aka /bin/sh) does not support pushd
or popd.  Bash does.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

