bug-recutils
[Top][All Lists]
Advanced

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

[bug-recutils] recsel: arithmetic on real numbers doesn't seem to be wor


From: Samuel Thibault
Subject: [bug-recutils] recsel: arithmetic on real numbers doesn't seem to be working
Date: Fri, 5 May 2017 15:08:29 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hello,

$ cat test.txt
Foo: 1.2
Bar: 1.1

Foo: 1.3
Bar: 1.1

$ recsel < test.txt -e '(Foo - Bar) > 1.0'
Foo: 1.2
Bar: 1.1

Foo: 1.3
Bar: 1.1

Those shouldn't be showing up.

Worse, inversing the test:


$ recsel < test.txt -e '(Foo - Bar) < 1.0'
Foo: 1.2
Bar: 1.1

Foo: 1.3
Bar: 1.1


Gives the same...

Samuel



reply via email to

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