On Thu, Feb 4, 2010 at 2:48 AM, Atte Peltomdki <atte.peltom...@iki.fi> wrote:
> On Tue, Feb 02, 2010 at 09:32:43PM +0100, Ingo Schwarze wrote:
>> Antti Harri wrote on Tue, Feb 02, 2010 at 07:31:57PM +0200:
>>
>> > xargs' -L switch isn't working when using -0 flag.
>>
>> After checking POSIX.1 (2008), i conclude that our implementation and
>> manual are correct in this respect.  The -L option is concerned
>> with "lines of arguments from standard input".  ASCII nul characters
>> do not delimit lines.
>
> You seem to have misinterpreted the purpose of -print0 and -0. From
> Linux find(1):

We understand the purpose of -0.  Are you sure you understand the
difference between -n and -L?  AFAICT, the behavior you desire can be
obtained portably and without requiring an alteration to the
definition of 'line' using -0 -n # -x


Philip Guenther

Reply via email to