mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Add string operator gt,ge,le,lt to recsel.
* common/recsel.c (recsel_parse_expr): Add them. (recsel_dump): Print them. (recsel_select): Evaluate them. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c8e0d37f41
commit
959cd8903f
3 changed files with 101 additions and 3 deletions
14
doc/gpg.texi
14
doc/gpg.texi
|
@ -3500,12 +3500,24 @@ The supported operators (@var{op}) are:
|
|||
@item <
|
||||
The numerical value of the field must be LT than the value.
|
||||
|
||||
@item >=
|
||||
@item >
|
||||
The numerical value of the field must be GT than the value.
|
||||
|
||||
@item >=
|
||||
The numerical value of the field must be GE than the value.
|
||||
|
||||
@item -le
|
||||
The string value of the field must be less or equal than the value.
|
||||
|
||||
@item -lt
|
||||
The string value of the field must be less than the value.
|
||||
|
||||
@item -gt
|
||||
The string value of the field must be greater than the value.
|
||||
|
||||
@item -ge
|
||||
The string value of the field must be greater or equal than the value.
|
||||
|
||||
@item -n
|
||||
True if value is not empty (no value allowed).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue