GNU bug report logs - #49716
no -print0 for ls?

Previous Next

Package: coreutils;

Reported by: Vito Caputo <vcaputo <at> pengaru.com>

Date: Sat, 24 Jul 2021 09:45:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 49716 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Vito Caputo <vcaputo <at> pengaru.com>, Pádraig Brady
 <P <at> draigBrady.com>
Cc: 49716 <at> debbugs.gnu.org
Subject: Re: bug#49716: no -print0 for ls?
Date: Sat, 24 Jul 2021 12:26:01 -0700
On 7/24/21 10:48 AM, Vito Caputo wrote:
> Couldn't we make
> -0 and any aliases shorthand for a new --format=WORD where WORD is
> names0 or something.  That way it's automatically mutually exclusive
> with the other formats?

It would make sense to invent a new --quoting-style='literal0' option 
(by analogy with the existing --quoting-style='literal'), and make ls -0 
an alias for ls --quoting-style='literal0'. I could add support for that 
if there's interest.




This bug report was last modified 3 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.