aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-03-12 10:09:52 +0000
committerWerner Koch <[email protected]>2025-03-12 10:09:52 +0000
commitc12b7d047e75808dfc8918f42962b4c8d1dead91 (patch)
tree887db74e0d613a9f3152b561343c2db7923ec953 /doc
parentUpdate autogen.sh from upstream to version 2025-03-10 (diff)
downloadgnupg-c12b7d047e75808dfc8918f42962b4c8d1dead91.tar.gz
gnupg-c12b7d047e75808dfc8918f42962b4c8d1dead91.zip
common: Add a flag for left anchored substring match to recsel.
* common/recsel.c (struct recsel_expr_s): Add field lefta. (recsel_parse_expr): Parse it. (recsel_select): Implement selection. -- This flags makes it for example easy to select keys last updated from an ldap server: gpg --list-filter 'select=origin=ks && -^ url =~ ldap' \ -k --with-key-origin
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 5f93e9f8c..cd979b2a5 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2561,8 +2561,8 @@ gpg can track the origin of a key. Certain origins are implicitly
known (e.g., keyserver, web key directory) and set. For a standard
import the origin of the keys imported can be set with this option.
To list the possible values use "help" for @var{string}. Some origins
-can store an optional @var{url} argument. That URL can appended to
-@var{string} after a comma.
+can store an optional @var{url} argument; such an URL can be appended to
+@var{string} delimited by a comma.
@item --import-options @var{parameters}
@opindex import-options
@@ -4389,6 +4389,8 @@ are:
@table @asis
@item --
@var{VALUE} spans to the end of the expression.
+ @item -^
+ The substring match is left anchored.
@item -c
The string match in this part is done case-sensitive.
@item -t