This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

grep -f option is not working in release of grep (2.5.3-1) - cygcheck.out file attached


I have tried by using below command. It didn’t work.

$ grep -E -v -f "C:\Log\FindDeploymentErrors_Exclude.txt"
CM_Setup2.log | grep -E -f "C:\Log\FindDeploymentErrors_Error.txt" -n
1>"C:\Log\cc.txt"

Pattern file( FindDeploymentErrors_Error.txt)is below..

A member could not be added
Access is denied
cacl: object
Cannot add rows to
Error:
ERROR:
Error from
Error occurred while loading document
is not recognized as an external command
is not recognized as an internal or external command
Usage:
recognized

If I use above command to search patterns in ?CM_Setup2.log, the
output file cc.txt is showing only last pattern( recognized) search
results.
It seems it is overwriting one pattern results with next pattern
results and finally shows the last pattern.
I need the all pattern search results in same file i.e., cc.txt.

Attached is the cygcheck.out file FYI

Thanks,
Tulasiram

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]