[Toybox] [PATCH] xargs: make --help match reality.
Rob Landley
rob at landley.net
Wed Jan 30 11:58:30 PST 2019
On 1/18/19 6:55 PM, enh via Toybox wrote:
> Implement -p, -t, and -r.
>
> Add some missing tests.
>
> Move -L and -x back to TODO since they're not implemented and I haven't
> yet even understood what they're supposed to do.
FYI my todo list has an xargs section with a reference to this email (sadly,
this one is in one of the dreamhost archive holes; I should try to put together
some mbox files to send them to fill that back in):
On 12/21/14 6:41 PM, Rich Felker wrote:
> On Sun, Dec 21, 2014 at 01:07:02PM -0800, James McMechan wrote:
>> I am would suggest something like GNU_QUIRKS and POSIX_QUIRKS config
>> symbols to add in the odd features like gnu sed directly disagreeing
>> with POSIX or POSIX's umm interesting xargs without -0 quoting
>> conventions and any other "why did they do it that way" I know POSIX
>
> There is nothing unusual or quirky about the way xargs without -0
> works. It's the way it's always been on all historical systems, and
> it's the only way xargs can actually process arbitrary lists of
> filenames. Mistakenly treating the input as a newline-delimited list
> of literals rather than a whitespace-delimited list of shell-quoted
> strings is a toybox quirk that's a bug and just needs to be fixed.
>
> Rich
And of course, you remember the email thread with Linus about the max
environment size changing in diferent kernel vesions but not having a probe API.
(I shouldla submitted a patch to add a /sys/kernel/mm/envmax file...)
Rob.
More information about the Toybox
mailing list