[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-recutils] Test for fields count: unexpected result
From: |
Dmitry Bogatov |
Subject: |
[help-recutils] Test for fields count: unexpected result |
Date: |
Sat, 19 Apr 2014 00:48:08 +0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello! Thanks for software, it is really nice.
But in following case I get unexpected result. Please, take a look.
(All listing is indented for 4 spaces, field names actually starts at
column 0)
$ cat foo.rec
Name: foo
Index: 5
Index: 9
Name: bar
Index: 7
$ recsel -e '#Index = 1' foo.rec
Name: foo
Index: 5
Index: 9
Name: bar
Index: 7
This do not seems right. I expected only second record with only one
instance of `Index' field be printed. In contrast following works as
expected:
$ recsel -e '#Index = 2' foo.rec
Name: foo
Index: 5
Index: 9
I am currently testing on 1.7 version, and the first example works as
described also on Debian box with 1.5 version on board. Use case is
simple, so I belive it is bug in my understanding.
Any suggestions, please?
PS. I am not subscribed, keep me in CC, please.
--
Best regards, Dmitry Bogatov <address@hidden>,
Free Software supporter, esperantisto and netiquette guardian.
git://kaction.name/rc-files.git
GPG: 54B7F00D
- [help-recutils] Test for fields count: unexpected result,
Dmitry Bogatov <=