help-recutils
[Top][All Lists]
Advanced

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

Re: [help-recutils] Test for fields count: unexpected result


From: Jose E. Marchesi
Subject: Re: [help-recutils] Test for fields count: unexpected result
Date: Sun, 20 Apr 2014 16:59:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Dmitry.

    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.

Good catch.  This is indeed a bug, and I just pushed a fix to the git
repo fixing it.

Thank you for reporting :)



reply via email to

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