You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mblaze/man/msort.1

68 lines
1.3 KiB
Groff

8 years ago
.Dd July 22, 2016
.Dt MSORT 1
.Os
.Sh NAME
.Nm msort
.Nd sort messages
8 years ago
.Sh SYNOPSIS
.Nm
.Op Fl r
.Op Fl f | Fl d | Fl s | Fl F | Fl M | Fl S | Fl U | Fl I
8 years ago
.Op Ar msgs\ ...
.Sh DESCRIPTION
.Nm
sorts messages according to various orders,
and prints, separated by newlines, the resulting message names.
.Po
8 years ago
See
.Xr mmsg 7
8 years ago
for the message argument syntax.
.Pc
8 years ago
.Pp
If no messages are specified,
8 years ago
.Nm
will read filenames from the standard input,
8 years ago
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
.Sq Li From\&: .
8 years ago
.It Fl d
Sort by date.
.It Fl s
Sort by
.Sq Li Subject\&:
(modulo various variants of
.Sq Li Re\&: ) .
8 years ago
.It Fl F
Sort by filename, using proper order for numbers in filenames.
8 years ago
.It Fl M
Sort by message file modification time.
.It Fl S
Sort by message file size.
.It Fl U
Sort unread messages after read messages.
.It Fl I
Sort flagged messages before unflagged messages.
8 years ago
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmsg 7
8 years ago
.Sh AUTHORS
7 years ago
.An Leah Neukirchen Aq Mt leah@vuxu.org
8 years ago
.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/