Hi,

I'm running GNU grep 2.5.1 over WinXP/SP2.

I could not get grep to produce and output for some simple queries.
My efforts are shown below in a (slightly edited) transcript of a
Command Window session.

Any advice on how I can grep to produce search results would be
greatly appreciated.
--
Richard


K:\Temp\GnuTest>dir
07/25/2007  08:59 AM                34 HelloWorld.txt
07/25/2007  09:00 AM                39 Song.txt
               2 File(s)             73 bytes

K:\Temp\GnuTest>type HelloWorld.txt
I say "Hello",
you say "Goodbye".
K:\Temp\GnuTest>

K:\Temp\GnuTest>type song.txt
Hello, young lovers,
wherever you are!
K:\Temp\GnuTest>

K:\Temp\GnuTest>grep -l -i 'hello' *.txt

K:\Temp\GnuTest>grep -l -i 'hello' *.*

K:\Temp\GnuTest>grep -l -i 'Hello' *.*

K:\Temp\GnuTest>grep --v
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


K:\Temp\GnuTest>

Reply via email to