From c83a5fbc4d9e1fa4f44d952c538e9d9fa534c9ba Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 2 Feb 2013 14:59:31 +0100 Subject: [PATCH] Cosmetics. --- mymail.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/mymail.1 b/mymail.1 index f2ba3f5..a0baacb 100644 --- a/mymail.1 +++ b/mymail.1 @@ -20,6 +20,22 @@ perform quick searches based on sender, subject, etc. It is similar in spirit to other existing software such as mu or notmuch. +.SH "SEARCH SYNTAX" + +The search conditions take the form of a single letter followed by a +space and a regexp, which can itself contain spaces. If the condition +is prefaced by the character "!" it is negated, and has to be false +for a mail to be selected. + +.TP +\fBf \fR selects mails whose field From, From:, or Reply-To: matches the regexp. Since the initial "From " line contains the date, this search criterion can be used to restrict to a certain year or month. +.TP +\fBd \fR selects mails whose field To:, Cc:, or Bcc: matches the regexp. +.TP +\fBp \fR selects mails whose field From, From:, Reply-To:, To:, Cc:, or Bcc: matches the regexp. +.TP +\fBs \fR selects mails whose field Subject: matches the regexp. + .SH "EXAMPLES" To index all the mbox present in the directory ~/my_mboxes and create -- 2.20.1