[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62992] recsel fails to find records with multiple values for the s
From: |
anonymous |
Subject: |
[bug #62992] recsel fails to find records with multiple values for the same field when match is not in first instance |
Date: |
Wed, 31 Aug 2022 05:14:33 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62992>
Summary: recsel fails to find records with multiple values
for the same field when match is not in first instance
Project: GNU recutils
Submitter: None
Submitted: Wed 31 Aug 2022 09:14:32 AM UTC
Category: utilities
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 31 Aug 2022 09:14:32 AM UTC By: Anonymous
Consider the minimal database of the attached test.rec file.
=== Steps to reproduce ===
Run the following recsel expression:
(#Window = 0 || Window = 'w1')
=== Expected ===
4 records get selected:
* object-in-w1
* object-in-w1-and-w2
* object-in-w2-and-w1
* object-in-none
=== Actual ===
only 3 records get selected.
* object-in-w1
* object-in-w1-and-w2
* object-in-none
The one that is missing is object-in-w2-and-w1.
=== However ===
With the recsel expression
(Window = 'w1')
I do get the expected results:
* object-in-w1
* object-in-w1-and-w2
* object-in-w2-and-w1
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 31 Aug 2022 09:14:32 AM UTC Name: test.rec Size: 824B By: None
<http://savannah.gnu.org/bugs/download.php?file_id=53642>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62992>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #62992] recsel fails to find records with multiple values for the same field when match is not in first instance,
anonymous <=