Source: recutils
Version: 1.5-1
Severity: important
Tags: upstream

Filing this bug which was reported[*] upstream by Dmitry Bogatov


    $ cat foo.rec

    Name: foo
    Index: 5
    Index: 9

    Name: bar
    Index: 7

The following works as expected:

    $ recsel -e '#Index = 2' foo.rec

    Name: foo
    Index: 5
    Index: 9

But here the selection expression should only
output the second record but both are printed.

    $ recsel -e '#Index = 1' foo.rec

    Name: foo
    Index: 5
    Index: 9

    Name: bar
    Index: 7


[*] http://lists.gnu.org/archive/html/help-recutils/2014-04/msg00000.html

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to