bug-datamash
[Top][All Lists]
Advanced

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

Re: Bug when adding negative numbers


From: Saint Michael
Subject: Re: Bug when adding negative numbers
Date: Thu, 11 Feb 2021 20:07:05 -0500

You are right.
Is it possible that datamash could transparently handle this?
Many people use now the Ubuntu version inside Windows.
Yours
Federico


On Thu, Feb 11, 2021 at 7:43 PM Shawn Wagner <shawnw.mobile@gmail.com> wrote:
Looks like your data file has Windows style CRLF endings and you're on a Unixish system that uses LF line endings. Run dos2unix or the like on it and try again.

On Thu, Feb 11, 2021 at 3:50 PM Saint Michael <venefax@gmail.com> wrote:
I have  a list of values,  and if I type
datamash  sum 1
'atamash: invalid numeric value in line 1 field 1: '-500

This is my list
-500
-100
-87.33
-600
-116.43
-500
-1000
-171.67
-112.84
-171.67

I think datamash must handle negative numbers,


reply via email to

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