[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-datamash] negative modes
From: |
Assaf Gordon |
Subject: |
Re: [Bug-datamash] negative modes |
Date: |
Tue, 6 Aug 2019 14:08:49 -0600 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
Hello,
On Wed, Mar 13, 2019 at 04:11:57PM -0300, Renan Valieris wrote:
> Hello, looks like datamash doesn't deal with negative modes correctly:
>
> $ datamash --version
> datamash (GNU datamash) 1.4
>
> $ echo 1 | datamash mode 1
> 1
>
> $ echo -1 | datamash mode 1
> 1.844674407371e+19
>
>
> looks like the code assumes mode is always positive and the number is
> stored as unsigned (!?)
Thanks for the report (and sorry for the long delay).
This is now fixed at:
https://git.savannah.gnu.org/cgit/datamash.git/commit/?id=6f6748686e56b5ae4daa9112da0ef232c5ce86ed
will be available in version 1.5
Thanks,
- Assaf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-datamash] negative modes,
Assaf Gordon <=