From 959cd8903fd012e63dbb156db56708dd3934b5df Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 5 Sep 2016 09:49:06 +0200 Subject: 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 --- doc/gpg.texi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/gpg.texi b/doc/gpg.texi index 68b21b62a..901d1ee15 100644 --- a/doc/gpg.texi +++ b/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). -- cgit v1.2.3