bug-coreutils
[Top][All Lists]
Advanced

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

bug#21325: ls : feature request --width=zero


From: Stephane Chazelas
Subject: bug#21325: ls : feature request --width=zero
Date: Sun, 23 Aug 2015 22:11:29 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

2015-08-23 13:26:35 +0200, Erik Auerswald:
> Hi,
> 
> On Sat, Aug 22, 2015 at 08:58:01PM -0700, Paul Eggert wrote:
> > Pádraig Brady wrote:
> > >Also base64 -w0 has similar meaning.
> > 
> > I didn't know that, but I don't like that either.  Utilities should
> > use an explicit representation for infinity, if that's what they
> > need.  'Inf', say.
> > 
> > In the meantime, the patch that I installed is helpful even if we
> > later add an explicit representation of infinity.
> 
> Using 0 to disable a length or width limit is quite common with networking
> gear. I do not know any example requiring a keyword like "Inf", neither
> UNIX (like) nor other CLIs.
[...]

Anything using strtod() to parse numbers should understand inf
or infinity (with any vAriATion on the case).

That's the case of GNU sleep for instance.

That doesn't apply to integers though.

-- 
Stephane





reply via email to

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