about summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorDuncan Overbruck <mail@duncano.de>2020-07-30 22:10:14 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-07-30 22:18:21 +0200
commitd9c3914924c0aa71bdbbe4a52a4f49f68bfbd679 (patch)
treee4ae3922dca1b41ad327eefeedab673871c5989a /man
parent96c506085f13942a788104abd4edc7a4c10ea5a2 (diff)
downloadmblaze-d9c3914924c0aa71bdbbe4a52a4f49f68bfbd679.tar.gz
mblaze-d9c3914924c0aa71bdbbe4a52a4f49f68bfbd679.tar.xz
mblaze-d9c3914924c0aa71bdbbe4a52a4f49f68bfbd679.zip
mpick: breaking cmdline options
Two breaking changes which will make mpick fit more in with
all other mblaze tools by using mmsg(7) arguments:
- Use the -F flag to read script files.
- Remove msglist support
Diffstat (limited to 'man')
-rw-r--r--man/mpick.166
1 files changed, 9 insertions, 57 deletions
diff --git a/man/mpick.1 b/man/mpick.1
index bb7d324..007fca6 100644
--- a/man/mpick.1
+++ b/man/mpick.1
@@ -1,4 +1,4 @@
-.Dd July 27, 2016
+.Dd July 30, 2020
 .Dt MPICK 1
 .Os
 .Sh NAME
@@ -6,10 +6,11 @@
 .Nd advanced message filter
 .Sh SYNOPSIS
 .Nm
+.Op Fl F Ar file
 .Op Fl T
 .Op Fl v
 .Op Fl t Ar test
-.Op Ar msglist\ ...
+.Op Ar msgs\ ...
 .Sh DESCRIPTION
 .Nm
 prints all matching messages.
@@ -23,6 +24,12 @@ will read filenames from the standard input.
 .Pp
 The options are as follows:
 .Bl -tag -width Ds
+.It Fl F Ar file
+Read expression from
+.Ar file
+and only show matching messages, see
+.Sx TESTS .
+.Ar file ,
 .It Fl T
 Include whole thread.
 .It Fl t Ar test
@@ -33,61 +40,6 @@ see
 .It Fl v
 Print how many messages were tested and picked to standard error.
 .El
-.Sh MSGLISTS
-.Nm
-message lists
-.Pq msglist
-are mostly compatible with
-.Xr mailx 1 .
-They are message specifications used as shortened
-.Sx TESTS ,
-and can include:
-.Bl -tag -width Ds
-.It Ar n
-Message number
-.Ar n .
-.It Ar n Ns Cm \&: Ns Ar m , Ar n Ns Cm \&- Ns Ar m
-An inclusive range of message numbers between
-.Ar n
-and
-.Ar m .
-.It Ar address
-All messages from
-.Ar address .
-.It Cm \&/ Ns Ar string
-All messages with
-.Ar string
-in the subject line
-.Pq case ignored .
-.It Cm \&: Ns Ar c
-All messages of type
-.Ar c ,
-where
-.Ar c
-shall be one of:
-.Bl -tag -width Ds
-.It Cm D
-Draft messages.
-.It Cm P
-Passed
-.Pq resent, forwarded or bounced
-messages.
-.It Cm R
-Replied messages.
-.It Cm F
-Flagged messages.
-.It Cm d , Cm T
-Deleted messages.
-.It Cm n
-New messages.
-.It Cm o
-Old messages.
-.It Cm r , Cm S
-Read messages.
-.It Cm u
-Unread messages.
-.El
-.El
 .Sh TESTS
 .Nm
 tests are given by the following EBNF: