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: f0rhum
Subject: bug#21325: ls : feature request --width=zero
Date: Mon, 24 Aug 2015 09:34:38 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Le 23/08/2015 23:11, Stephane Chazelas a écrit :
> 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.
>
I'm not involved, but just a suggestion if no one tought about this: why
not use w-1 ?





reply via email to

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