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/mseq.1

119 lines
1.9 KiB
Groff

8 years ago
.Dd July 22, 2016
.Dt MSEQ 1
.Os
.Sh NAME
.Nm mseq
.Nd manipulate message sequences
8 years ago
.Sh SYNOPSIS
.Nm
.Op Fl fr
.Op Fl c Ar msg
8 years ago
.Ar msgs\ ...
8 years ago
.Nm
.Fl S
.Op Fl fr
<
.Ar sequence
.Nm
.Fl A
.Op Fl fr
8 years ago
<
.Ar sequence
.Nm
.Fl C Ar msg
8 years ago
.Sh DESCRIPTION
.Nm
prints, fixes and sets the message sequence.
.Po
8 years ago
See
.Xr mmsg 7
8 years ago
for the message argument syntax.
.Pc
8 years ago
.Pp
If no
.Ar msgs
are passed and
.Nm
is used interactively,
.Nm
prints all messages in the sequence.
.Pp
8 years ago
With
.Fl S
or
.Fl A ,
.Nm
will replace
.Pq resp. append
the default sequence.
If the standard output is not a terminal,
the new sequence is also printed.
8 years ago
.Pp
8 years ago
The options are as follows:
.Bl -tag -width Ds
.It Fl c Ar msg
Behave as if
.Ar msg
was the current message.
8 years ago
.It Fl f
Fix non-existing filenames by searching for a message with the same
maildir id
.Pq but different flags .
8 years ago
.It Fl r
Remove leading indentation from the filenames.
8 years ago
.It Fl S
Set the message sequence to the filenames passed on standard input.
8 years ago
.It Fl A
Like
.Fl S ,
but append to the message sequence instead of replacing it.
.It Fl C Ar msg
Set the current message to
.Ar msg
and exit.
8 years ago
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev MBLAZE
Directory containing mblaze configuration.
.Po
Default:
.Pa $HOME/.mblaze
.Pc
.It Ev MAILCUR
Symbolic link referring to the current message.
.Po
Default:
.Pa ${MBLAZE:-$HOME/.mblaze}/cur
.Pc
.It Ev MAILDOT
When set to a filename, overrides the current message.
.Po
Prefer using
.Fl c
instead.
.Pc
.It Ev MAILSEQ
File were the sequence is stored.
.Po
Default:
.Pa ${MBLAZE:-$HOME/.mblaze}/seq
.Pc
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/