Possible Bug (never know)

Christopher Faylor cgf@redhat.com
Tue Nov 21 16:06:00 GMT 2000


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



More information about the Cygwin mailing list