mblaze/man/mflow.1

72 lines
1.3 KiB
Groff
Raw Normal View History

.Dd September 6, 2017
2017-07-26 15:23:01 +00:00
.Dt MFLOW 1
.Os
.Sh NAME
.Nm mflow
.Nd reflow format=flowed plain text messages
2017-07-26 15:23:01 +00:00
.Sh SYNOPSIS
.Nm
.Op Fl f
.Op Fl q
.Op Fl w Ar width
2017-07-26 15:23:01 +00:00
\&<
.Ar file
.Sh DESCRIPTION
.Nm
reformats the standard input according to the rules
of RFC 3676.
.Ev PIPE_CONTENTTYPE
is inspected, making this a suitable filter
for
.Sq text/plain
messages for
.Xr mshow 1 .
Messages not specified as
2017-07-26 15:23:01 +00:00
.Sq format=flowed
are output unchanged.
2017-07-26 15:23:01 +00:00
.Pp
Text is reflowed (where allowed) to
fit the width given in the environment variable
.Ev COLUMNS ,
the terminal width, or 80 characters by default.
.Pp
If defined,
the environment variable
.Ev MAXCOLUMNS
specifies the maximum line length.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl f
Force wrapping of long lines.
.It Fl q
Prefix lines with
.Sq Li \&> .
Can be used multiple times.
.It Fl w Ar width
Set maximum line length to
.Ar width .
.El
2017-07-26 15:23:01 +00:00
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mshow 1
.Rs
.%A R. Gellens
.%D February 2004
.%R RFC 3676
.%T The Text/Plain Format and DelSp Parameters
.Re
.Sh AUTHORS
.An Leah Neukirchen Aq Mt leah@vuxu.org
.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/