coreutils
[Top][All Lists]
Advanced

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

Re: basename BSD compatibility and filter mode


From: Bernhard Voelker
Subject: Re: basename BSD compatibility and filter mode
Date: Mon, 05 Mar 2012 10:07:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2

On 03/03/2012 10:00 PM, Pádraig Brady wrote:
> Yes, I agreed with Eric that -0 was useful,

If basename is used as a filter in the middle of pipe,
then I think it maybe would make sense to have a 0-option
for the output:

find . -type f -print0 \
  | xargs -0 -r0 basename --out-null \
  | xargs -0 -r0 do_something_else

What do you think?

Have a nice day,
Berny



reply via email to

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