delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/14/09:33:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <40CD71B0.8040807@x-ray.at>
Date: Mon, 14 Jun 2004 11:36:48 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040514 MultiZilla/1.5.0.4h
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: grep problems
References: <NGBBLLIAMFLGJEOAJCCEGEGPDLAA DOT garbage_collector AT telia DOT com>
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEGEGPDLAA.garbage_collector@telia.com>
X-IsSubscribed: yes

Hannu E K Nevalainen schrieb:
>>From: Mark DOT Bevan AT gwent DOT wales DOT nhs DOT uk
>>Sent: Monday, June 14, 2004 9:47 AM
>>I was having some trouble using grep to look for text in files.
>>>From some tests it looks like meta characters cause the problem to show
>>itself :

....

> To get more info regarding the use/setup of rxvt+bash: Use google.com on
> "site:cygwin.com rxvt" - I bet you'll find a lot of information.

>>C:\temp>grep text /temp/*.txt
>>GREP: /temp/*.txt: No such file or directory
>>
>>C:\temp>grep text c:/temp/*.txt
>>c:/temp/test.txt:text
>>
>>I have upgraded to latest release of Cygwin and this has not
>>changed things.
>>I have tried the above on a Windows 98 and Windows XP system as
>>well - same results.
>>
>>Any ideas how I get around this problem ?

But at first this poor user has to install cygwin and use a cygwin shell 
and a cygwin grep.
Not the NT cmd.exe and some strange non-cygwin grep, as he did. (as 
Yitzchak Scott-Thoennes already posted)

Non of these grep versions he did actually use:
- grep and sgrep, Win32 port by Tim Charron 
(http://www.interlog.com/~tcharron/grep.html)
- borland's turbo grep.com (v2.9)
- Win32 port by Marc Geist (as grep32.exe)
- agrep and agrepw32 (from GLIMPSE) 
(http://www.geocities.com/SiliconValley/Lakes/4889/agrep.html)

Wonder how much other win32 grep's are floating there around.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
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