|
I tried grep -rl -f strings.txt /path/to/search/* > result.txt
Same problem, the string in strings.txt is being split up:
/sample/string in/strings file/title.jsp
I'm guessing it is being split into these 3 strings:
/sample/string
in/strings
file/title.jsp
I know that if I do this grep, I get only 3 results as opposed to the 1588 results I get with the grep -rl -f strings.txt method.
grep -rl "/sample/string in/strings file/title.jsp" /path/to/search/*
Thanks upstate boy
Last edited by upstate_boy; 05-17-2008 at 12:51 PM.
|