[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] seq: don't allow --equal-width option with infinite FIRS
From: |
Bernhard Voelker |
Subject: |
Re: [PATCH 1/2] seq: don't allow --equal-width option with infinite FIRST and LAST |
Date: |
Sun, 27 Jul 2014 18:00:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 07/26/2014 10:32 PM, Pádraig Brady wrote:
> On 07/26/2014 07:06 PM, Bernhard Voelker wrote:
>> seq(1) could not determine the width of large values toward INF
>> values. Therefore, specifying -w is useless in such a case.
>>
>> * src/seq.c (main): Output an error diagnostic when the -w option
>> is specified together with non-finite values for FIRST or LAST.
>> * tests/misc/seq.pl: Add tests.
>> * NEWS (Changes in behavior): Mention the change.
>
> We already restrict -w to be incompat with --format.
> However that's an invariant aspect of seq invocation.
> One might have a script that took the end point as a parameter,
> which would now fail. I've a slight preference for the
> existing behavior of ignoring -w in this case, like we
> do for hex inputs for example.
I agree, let's leave it then.
Thanks.
Have a nice day,
Berny
- seq and infinite values, Bernhard Voelker, 2014/07/26
- [PATCH 1/2] seq: don't allow --equal-width option with infinite FIRST and LAST, Bernhard Voelker, 2014/07/26
- [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/26
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Pádraig Brady, 2014/07/26
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Pádraig Brady, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29