mblaze/man/maddr.1

64 lines
1.1 KiB
Groff
Raw Normal View History

.Dd July 22, 2016
.Dt MADDR 1
.Os
.Sh NAME
.Nm maddr
2016-07-25 14:57:17 +00:00
.Nd extract mail addresses from messages
.Sh SYNOPSIS
.Nm
2016-08-09 13:49:46 +00:00
.Op Fl a
.Op Fl h Ar headers
.Op Ar msgs\ ...
.Sh DESCRIPTION
.Nm
prints, one per line, all mail addresses found in the
.Ar headers
of the specified
.Ar msgs .
See
.Xr mmsg 7
for the message argument syntax.
.Pp
If no
.Ar msgs
are specified,
and
.Nm
is used interactively,
.Nm
will default to the current sequence.
Otherwise,
.Nm
will read filenames from standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds
2016-08-09 13:49:46 +00:00
.It Fl a
Only print the addr-spec part of the address, not the display name.
.It Fl h Ar headers
2016-07-25 22:27:28 +00:00
Only search the colon-separated list of
.Ar headers
for mail addresses.
Default:
2017-08-20 15:11:22 +00:00
.Sq Li from\&:sender\&:reply\&-to\&:to\&:cc\&:bcc\&:
and their respective
2017-08-20 15:11:22 +00:00
.Sq Li resent\&-
variants.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr mmsg 7
.Sh AUTHORS
2017-01-21 16:17:12 +00:00
.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/