summary refs log tree commit diff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-02-23 20:25:21 +0100
committerDuncaen <mail@duncano.de>2017-02-23 20:35:15 +0100
commitd3f14eaa55df4e33f564b9c8b09fc1d887999964 (patch)
treebd93d1ce7aabdae84ed7815c26781ead544dc6cc
parent5eea6f4efb7b16ebe5318415dca2dfe620870589 (diff)
downloadmblaze-d3f14eaa55df4e33f564b9c8b09fc1d887999964.tar.gz
mblaze-d3f14eaa55df4e33f564b9c8b09fc1d887999964.tar.xz
mblaze-d3f14eaa55df4e33f564b9c8b09fc1d887999964.zip
mpick.1: improve EXAMPLES
-rw-r--r--man/mpick.120
1 files changed, 18 insertions, 2 deletions
diff --git a/man/mpick.1 b/man/mpick.1
index 5e1b9d2..20fb0e6 100644
--- a/man/mpick.1
+++ b/man/mpick.1
@@ -140,8 +140,24 @@ tests are given by the following EBNF:
 .Sh EXIT STATUS
 .Ex -std
 .Sh EXAMPLES
-You can use mpick to filter mail by moving them across Maildir inboxes.
-.Dl mv $(mlist ./INBOX | mpick -t 'from ~~~ \&"github\&"') ./github/cur
+You can pick mails to move them into another
+.Dv maildir .
+.Pp
+.Dl mv $(mlist ./INBOX | mpick -t 'from =~ \&"@github\&"') ./github/cur
+.Pp
+Or you can use
+.Nm
+to pick mails from the current sequence.
+.Pp
+.Dl mpick -t 'subject =~~ \&"mblaze\&"' | mscan
+.Pp
+A more advanced
+.Nm
+expressions to pick mails in a time span which are flagged as replied or not seen.
+.Pp
+.Bd -literal -offset indent
+mpick -t 'date >= \&"2016-01-01\&" && date < \&"2017-01-01\&" && (replied || !seen)'
+.Ed
 .Sh SEE ALSO
 .Xr lr 1 ,
 .Xr mailx 1