* mu-easy.1: add some more examples of searches

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-26 08:25:42 +02:00
parent e4bac48343
commit b547917e8b

View File

@ -122,30 +122,46 @@ match messages in a maildir called '/archive'.
.SH MORE QUERIES .SH MORE QUERIES
Let's list some more queries that may be interesting: Let's list a few more queries that may be interesting; please note that
searches for message flags, priority and date ranges are only available in mu
version 0.9 or later.
Get all important messages which are signed: Get all important messages which are signed:
.nf .nf
\fB$ mu find flag:signed prio:high \fR \fB$ mu find flag:signed prio:high \fR
.fi .fi
Get all messages from Jim without an attachment: Get all messages from Jim without an attachment:
.nf .nf
\fB$ mu find from:jim AND NOT flag:attach\fR \fB$ mu find from:jim AND NOT flag:attach\fR
.fi .fi
Get all unread messages where the subject is about some dance: Get all unread messages where the subject is about Ångström:
.nf .nf
\fB$ mu find flag:new subject:tango\fR \fB$ mu find flag:new subject:Ångström\fR
.fi
which is equivalent to:
.nf
\fB$ mu find flag:new subject:angstrom\fR
.fi
because does mu is case-insensitive and accent-insensitive.
Get all unread messages between March 2002 and August 2003 about some bird (or
a Swedish rock band):
.nf
\fB$ mu find date:20020301..20030831 flag:new nightingale\fR
.fi .fi
Get all messages unread messages between March 2002 and August 2003 about Get all message we got today:
scuba-diving:
.nf .nf
\fB$mu find date:20020301..20030831 flag:new scuba \fB$ mu find date:today..now\fR
.fi .fi
(caveat: the dates we're matching here are based on UTC ('Greenwich time'),
which may differ a few hours with your local hours) Get all message we got in the last two weeks about emacs:
.nf
\fB$ mu find date:2w..now emacs\fR
.fi
.SH DISPLAYING MESSAGES .SH DISPLAYING MESSAGES