[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] Value Expressions
From: |
John Darrington |
Subject: |
[bug-recutils] Value Expressions |
Date: |
Tue, 21 Aug 2012 07:46:52 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Per discussion on IRC:
I think it would be a good idea if the recset and recins commands could
accept some kind of "value expression" in their -s, -a and -v options.
That is to say, whereas currently only literal strings can be given (eg:
recset -f FEX -v "value") it would be nice to allow one to have
recset -f FEX -v VEX
For example one might wish to add a new string field which is based upon
another (existing) field: recset -f "field-new" -a "[field-existing]s/foo/bar"
Or in the case of numeric fields: recset -f "field-new" -a "[field-existing] +
1"
Just a suggestion for you to think about ...
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- [bug-recutils] Value Expressions,
John Darrington <=