coreutils
[Top][All Lists]
Advanced

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

Re: numfmt: minor improvements to --field parsing


From: Assaf Gordon
Subject: Re: numfmt: minor improvements to --field parsing
Date: Thu, 10 Sep 2015 14:19:11 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

On Wed, Sep 09, 2015 at 11:14:20AM +0100, Pádraig Brady wrote:
One tweak I would add is to add getlimits to the test
and s/9918446744073709551616/SIZE_MAX/

Otherwise it looks great.
Pleas push after that tweak.

Updated version attached.
Just to verify this is what you meant before pushing, the test is now:
---
['field-range-err-13','--field '.$limits->{SIZE_OFLOW}.',22 --to=si 10',
         {EXIT=>1}, {ERR=>"$prog: field number " .
                          "'".$limits->{SIZE_OFLOW}."' is too large\n$try"}],
---

thanks,
 - assaf

Attachment: cut-numfmt-set-fields-2015-09-10.patch.xz
Description: Binary data


reply via email to

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