summary refs log tree commit diff
path: root/man/mpick.1
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-04-17 02:54:22 +0200
committerDuncaen <mail@duncano.de>2017-04-17 03:01:57 +0200
commit9bec745dde6a85b16d2bb87a4ab1c86961e5d950 (patch)
tree6113d3dfb054ac3f858718e4f86705a0e3e5e95d /man/mpick.1
parent2895704eee6330cb549964de2d8b662040010fdd (diff)
downloadmblaze-9bec745dde6a85b16d2bb87a4ab1c86961e5d950.tar.gz
mblaze-9bec745dde6a85b16d2bb87a4ab1c86961e5d950.tar.xz
mblaze-9bec745dde6a85b16d2bb87a4ab1c86961e5d950.zip
mpick: allow string expressions on any header
Diffstat (limited to 'man/mpick.1')
-rw-r--r--man/mpick.16
1 files changed, 6 insertions, 0 deletions
diff --git a/man/mpick.1 b/man/mpick.1
index 20fb0e6..b773260 100644
--- a/man/mpick.1
+++ b/man/mpick.1
@@ -126,6 +126,7 @@ tests are given by the following EBNF:
              | cur               -- index of cur message
 
 <strprop>  ::= from | subject | to
+             | <str>             -- header name
 
 <strop>    ::= == | =            -- string equality
              | ===               -- case insensitive string equality
@@ -158,6 +159,11 @@ expressions to pick mails in a time span which are flagged as replied or not see
 .Bd -literal -offset indent
 mpick -t 'date >= \&"2016-01-01\&" && date < \&"2017-01-01\&" && (replied || !seen)'
 .Ed
+.Pp
+And to find other mblaze users.
+.Pp
+.Dl mpick -t '"User-Agent" =~~ \&"mblaze\&"' | mscan
+.Pp
 .Sh SEE ALSO
 .Xr lr 1 ,
 .Xr mailx 1