bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep with file of patterns


From: Al Buckingham
Subject: grep with file of patterns
Date: Fri, 3 Feb 2012 14:13:56 -0500

Hi,
 
Only the last pattern in the text file of patterns is processed
 
C:\cygwin>grep --fixed-strings  --file=C:\patternlist.txt  C:\code.inc > 
C:\GREP_OUT.txt
Patternlist.txt contains two lines
function
class

Whatever pattern appears last in the file it is the one that is processed.
All other patterns are ignored.
 
Thanks
Al
 
win XP
cygwin 1 from 2006
                                          

reply via email to

[Prev in Thread] Current Thread [Next in Thread]