Package: findutils
Version: 4.1.20-6
Severity: wishlist
It would be useful to have an option in xargs that specifies that the
filename separator is a linefeed (or an option to specify any arbitrary
separotor).
This would be really useful with find where filenames have spaces. I
know that you can use -print0 and -0 like this
find / -name "*find*" -print0 | xargs -0 command
but that doesn't allow for more extended pipelines. There is no way to
process the find output with other commands. This won't work:
find / -name "*find*" -print0 | grep -v baddir | xargs -0 command
Thanks!
Brian
( [EMAIL PROTECTED] )
-------------------------------------------------------------------------------
... was no trading on the NYSE today; everybody was happy with what
they had.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]