bug-recutils
[Top][All Lists]
Advanced

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

[bug-recutils] question about bool types


From: Tim Gray
Subject: [bug-recutils] question about bool types
Date: Wed, 31 Jul 2013 21:16:30 -0400
User-agent: Mutt/1.5.21+154 (4c5163272b9c) (2012-12-30)

I'm playing around with recutils and added a bool type to my %rec definition. I understand I can use 0/1, yes/no, or true/false in the field.

I'm a little stumped on how I can select records that are either true or false in the specified field. Doing

   recsel -e 'BoolField = 0' file.rec

only returns the records where 'BoolField' is actually set to 0, and not 'no' or 'false'. Am I missing something here or do I have to query all three of 0, no, and false?

Thanks.



reply via email to

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