delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/01/15:54:09

X-Spam-Check-By: sourceware.org
Message-ID: <4570965A.CA1FD5DC@dessent.net>
Date: Fri, 01 Dec 2006 12:53:46 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: echo hi|egrep -v ho #no output
References: <200612012037 DOT kB1KbY8b006101 AT tigris DOT pounder DOT sol DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Tom Rodman wrote:

>   ~ $ echo hi|egrep -v ho

WJFFM.

Note that egrep is a /bin/sh script that just calls grep -E.  So if your
sh.exe was in use or something went wrong in the bash postinstall you
may not have a functioning sh.exe.  Try "grep -E" and if this works but
egrep does not then check your sh.exe, it should be an identical copy of
bash.exe.  Worst cast, just "cp -p /bin/{bash,sh}.exe".

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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