bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] add new sort option --xargs (-x)


From: Jim Meyering
Subject: Re: [PATCH] add new sort option --xargs (-x)
Date: Thu, 03 Apr 2008 19:58:31 +0200

"Bo Borgerson" <address@hidden> wrote:
>>  I think so.  du and wc each have the --files0-from=F option, added for
>>  the same reason.  Any such option in sort should have the same name and
>>  be implemented in the same way.
>
> That seems reasonable enough.  Looks like readtokens0 does most of the
> work for me. :)
>
> How would you feel about also including a --filesn-from=F option to
> support pipelines like the one in my example where the input is
> newline separated?

I'd rather not.  Instead, just pipe your list through tr '\n' '\0' first.
We had the same discussion back when I added --files0-from=F to du and wc.




reply via email to

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