2016-07-22 19:36:46 +00:00
|
|
|
.Dd July 22, 2016
|
|
|
|
.Dt MSORT 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm msort
|
2018-02-04 22:32:45 +00:00
|
|
|
.Nd sort messages
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl r
|
2016-08-06 16:27:01 +00:00
|
|
|
.Op Fl f | Fl d | Fl s | Fl F | Fl M | Fl S | Fl U | Fl I
|
2016-07-22 19:36:46 +00:00
|
|
|
.Op Ar msgs\ ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2018-02-04 22:32:45 +00:00
|
|
|
sorts messages according to various orders,
|
|
|
|
and prints, separated by newlines, the resulting message names.
|
|
|
|
.Po
|
2016-07-22 19:36:46 +00:00
|
|
|
See
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
for the message argument syntax.
|
2018-02-04 22:32:45 +00:00
|
|
|
.Pc
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
2017-07-11 20:11:21 +00:00
|
|
|
If no messages are specified,
|
2016-07-22 19:36:46 +00:00
|
|
|
.Nm
|
2017-07-11 20:11:21 +00:00
|
|
|
will read filenames from the standard input,
|
2016-07-22 19:36:46 +00:00
|
|
|
or use the default sequence if used interactively.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl r
|
|
|
|
Reverse order.
|
|
|
|
.It Fl f
|
|
|
|
Sort by
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li From\&: .
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Fl d
|
|
|
|
Sort by date.
|
|
|
|
.It Fl s
|
|
|
|
Sort by
|
|
|
|
.Sq Li Subject\&:
|
|
|
|
(modulo various variants of
|
2017-08-20 15:11:22 +00:00
|
|
|
.Sq Li Re\&: ) .
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Fl F
|
2017-07-02 16:22:51 +00:00
|
|
|
Sort by filename, using proper order for numbers in filenames.
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Fl M
|
|
|
|
Sort by message file modification time.
|
|
|
|
.It Fl S
|
|
|
|
Sort by message file size.
|
2016-08-06 16:27:01 +00:00
|
|
|
.It Fl U
|
|
|
|
Sort unread messages after read messages.
|
|
|
|
.It Fl I
|
|
|
|
Sort flagged messages before unflagged messages.
|
2016-07-22 19:36:46 +00:00
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh LICENSE
|
|
|
|
.Nm
|
|
|
|
is in the public domain.
|
|
|
|
.Pp
|
|
|
|
To the extent possible under law,
|
|
|
|
the creator of this work
|
|
|
|
has waived all copyright and related or
|
|
|
|
neighboring rights to this work.
|
|
|
|
.Pp
|
|
|
|
.Lk http://creativecommons.org/publicdomain/zero/1.0/
|