bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #39824] Add suggestion 'ls | tr \\n \\0 | xargs -0 command' to xarg


From: Edward J. Huff
Subject: [bug #39824] Add suggestion 'ls | tr \\n \\0 | xargs -0 command' to xargs man page
Date: Tue, 20 Aug 2013 09:47:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #1, bug #39824 (project findutils):

Ok, I see that *tr \n \0 | xargs -0* is exactly equivalent to *xargs -d\n*. 
Still, filenames containing blanks are easily created using gui save dialogs
whereas newlines cannot be inserted that way.

So I will submit a patch to the documentation which will recommend always
using *-d\n* when *-0* is not possible,
and will add *-d\n* to all of the invocations which do not
use *-0*.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39824>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]