[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep problem
From: |
Stepan Kasal |
Subject: |
Re: grep problem |
Date: |
Tue, 21 Jun 2005 17:03:31 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Tue, Jun 21, 2005 at 12:18:12PM +0200, Johan Smets wrote:
> xxxxx_MICHIGAN_001_HIGHPRESSURE
> xxxxx_NEWYORK_001_LOWPRESSURE
> xxxxx_MICHIGAN_002_HIGHPRESSURE
...
> grep mich ALM150605.STR > test.txt
>
> so we are going to search for every line with mich in it in the file
> ALM150605.STR and we write every matching line to a text file named test.
> but this does not work.
I don't believe you are describing a bug in GNU grep.
Perhaps you need
grep MICH ALM150605.STR >test.txt
or
grep -i mich ALM150605.STR >test.txt
Remember that GNU utilities are case sensitive by default.
HTH,
Stepan Kasal
- grep problem, Johan Smets, 2005/06/21
- Re: grep problem,
Stepan Kasal <=