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: Shawn Wagner
Subject: Re: Bug when adding negative numbers
Date: Thu, 11 Feb 2021 16:43:19 -0800

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]