|
From: | Lennart Borgman (gmail) |
Subject: | Re: Why does not rgrep use "grep -r"? |
Date: | Sun, 04 Nov 2007 13:01:26 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
Jason Rumney wrote:
Lennart Borgman (gmail) wrote:Jason, did you see my message about the probelm with spaces in the searches?That seems more like a bug with argument quoting than a problem with the commands used.
Maybe, but the bug is there. The command looks ok to me:find . "(" -path "*/CVS" -o -path "*/.svn" -o -path "*/{arch}" -o -path "*/.hg" -o -path "*/_darcs" -o -path "*/.git" -o -path "*/.bzr" ")" -prune -o -type f "(" -name "*.el" ")" -print0 | xargs -0 -e grep -i -nH -e "free software"
This problem together with the problem with "find.exe" path makes me think that it is better to use grep -r on w32.
[Prev in Thread] | Current Thread | [Next in Thread] |