bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] use of recsel when records contain multiple instances


From: Charles Millar
Subject: Re: [bug-recutils] use of recsel when records contain multiple instances of same field-name in each record (was use of)
Date: Wed, 19 Apr 2017 15:34:23 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

04/19/17 15:11, Jose E. Marchesi wrote:

          recsel -e 'Tag = "This"' Contacts.rec | recsel -e 'Tag = "That"' -p
     Name

Why would you do that instead of using the || operator in a single
sexexpr, like John suggested?

It is my understanding that the symbol or command for pipe is a single | and that the || is "or". I want only records which contain both Tag: This and Tag: That

Charlie



reply via email to

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