Hi, I've read the previous posts in the group and I thought I had the correct syntax but.... I must be doing something wrong.
----------<quote>------------------------------- D:\temp\MANSYS>"c:\Program Files\GnuWin32\bin\grep.exe" -ir --include="*.rec" "version" . ---------<endquote>------------------------------- No result, however: ---------<quote>------------------------------- D:\temp\MANSYS>"c:\Program Files\GnuWin32\bin\grep.exe" -i "version" *.rec Version=200 D:\temp\MANSYS>"c:\Program Files\GnuWin32\bin\grep.exe" -i "version" 207\SPLPT007.REC Version=200 ---------<endquote>------------------------------- There are at least two files (and many more for that matter) where the pattern is present. In the end what I'm looking for are *.REC files with a single quote ' in the file somewhere. I would probably use something like: D:\temp\MANSYS>"c:\Program Files\GnuWin32\bin\grep.exe" -ir --include="*.rec" "'" . I'm using the latest version of the software. ---------<quote>------------------------------- D:\temp\MANSYS>"c:\Program Files\GnuWin32\bin\grep.exe" -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. ---------<endquote>------------------------------- What am I doing wrong? Bonno Bloksma ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users