bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] Value Expressions


From: Jose E. Marchesi
Subject: Re: [bug-recutils] Value Expressions
Date: Tue, 04 Sep 2012 10:36:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

         Looks good but, what if you want to add a value that starts with a /
         character?  We must find a simple, complete and easy to learn syntax 
for
         this...
    
    This is always going to be a problem as soon as you introduce any kind of 
expression
    which is to be interpreted other than literally.  The obvious answer is, 
you must 
    escape the / with a \  Another solution is, to introduce a new option -A; 
-A would
    take a string to be interpreted as a value  expression, -a would be 
interpreted 
    literally.
    
    The trick is, like you say, is to find the solution which puts the least 
confusion
    on the users.

Yes.  We need more ideas.
    
         Huh... that would require to capture snapshots of the records in the
         evaluation of the SEX.  Complex stuff..
         
    Hey!  Who said it was going to be easy?
    
Heh, that is the spirit! :)

-- 
Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org



reply via email to

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