coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] ls: add --files0-from=FILE option


From: Bernhard Voelker
Subject: Re: [PATCH] ls: add --files0-from=FILE option
Date: Wed, 21 Apr 2021 00:58:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 4/20/21 2:57 PM, Pádraig Brady wrote:
> On 19/04/2021 18:08, Carl Edquist wrote:
> In saying all of the above, I do agree though that for consistency
> commands that need to process all arguments with global context,
> should have a --files0-from option.
> Currently that's du and wc for total counts, and sort(1) for sorting.
> Since ls has sorting functionality, it should have this option too.

I don't have a strong opinion about whether to add it or not,
but if we add it, then shouldn't it use the 'argv-iter' gnulib module
(like du.c and wc.c) instead of directly using the underlying ...

>> +#include "readtokens0.h"


?

Have a nice day,
Berny



reply via email to

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