On 6/10/06, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368924
thanks for posting the links. my major point is that you have maximum flexibility when you can use find, a tool designed for exactly this purpose, to recurse and filter the fs tree, and grep to do what it is good at, which is, to use a correct but ironic term, grepping. xargs is insufficient partly because it cannot efficiently call shell functions. this is important for a variety of reasons including being able to preprocess files. preprocessing can include uncompressing, unarchiving, and so on. shell functions are useful for that. imho, if there is a need for grep -r, then there is a need for pathname input. (-xdev)
That would indeed be cool. Have a patch? :)
find already has. adding piped pathnames leverages that.
In my opinion, though, --exclude should not exclude directories.
imho, allowing piped input reduces the need for debates on whether it should or not.
> find ... -xdev | > grep -v .svn/ | > grep -r --files-input - apple What's the -r doing in there?
did i put that there? oops. -- Webmaster: do you believe that people will (a) switch browsers to view your "best viewed with" page or (b) go to your competitor?
