[Top][All Lists]

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

bug#49716: no -print0 for ls?

From: Paul Eggert
Subject: bug#49716: no -print0 for ls?
Date: Sun, 25 Jul 2021 08:28:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/25/21 7:43 AM, Pádraig Brady wrote:
I would use the more consistent option for this though, i.e.:

   -z, --zero                    end each output line with NUL, not newline

That's a different option, no? My proposal was something that would affect every program using --quoting-style, and it would quote individual filenames and suchlike. The --zero option, in contrast, would mean 'ls' would output NUL every place it normally outputs a newline as part of the own format that it generates. These are different things.

It sounds like your approach is better than what I proposed, though.

--null makes sense, but I'm not entirely sold on having a short option for this rarely-needed functionality. Perhaps it'd be better to add it with just the long name for now. If it gets used a lot we could add a short alias later.

reply via email to

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