about summary refs log tree commit diff
path: root/man/maddr.1
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-25 13:11:33 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-25 13:11:33 +0200
commit70df63df73b2b337cb4b90e9a4b03c7b399c406a (patch)
tree1143df32299f2a89e0b7dfdeb751276150ffc461 /man/maddr.1
parent182a32ff9dc06805995248a8ed09e4fcf0f46c2c (diff)
downloadmblaze-70df63df73b2b337cb4b90e9a4b03c7b399c406a.tar.gz
mblaze-70df63df73b2b337cb4b90e9a4b03c7b399c406a.tar.xz
mblaze-70df63df73b2b337cb4b90e9a4b03c7b399c406a.zip
add maddr: show mail addresses in messages
Diffstat (limited to 'man/maddr.1')
-rw-r--r--man/maddr.160
1 files changed, 60 insertions, 0 deletions
diff --git a/man/maddr.1 b/man/maddr.1
new file mode 100644
index 0000000..71dd41d
--- /dev/null
+++ b/man/maddr.1
@@ -0,0 +1,60 @@
+.Dd July 22, 2016
+.Dt MADDR 1
+.Os
+.Sh NAME
+.Nm maddr
+.Nd show mail addresses in messages
+.Sh SYNOPSIS
+.Nm
+.Op Fl h Ar headers
+.Op Ar msgs\ ...
+.Sh DESCRIPTION
+.Nm
+prints all mail addresses mentioned in the
+.Ar headers
+of the given
+.Ar msgs ,
+line by line.
+See
+.Xr mmsg 7
+for the message argument syntax.
+.Pp
+If no
+.Ar msgs
+are passed,
+and
+.Nm
+is used interactively,
+.Nm
+will default to the current sequence.
+Else,
+.Nm
+will read filenames from standard input.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl h Ar headers
+Only search the colon-seperated list of
+.Ar headers
+for mail addresses.
+Default:
+.Sq Li from:sender:reply-to:to:cc:bcc:
+and the same with
+.Sq Li resent- .
+.El
+.Sh EXIT STATUS
+.Ex -std
+.Sh SEE ALSO
+.Xr mmsg 7
+.Sh AUTHORS
+.An Christian Neukirchen Aq Mt chneukirchen@gmail.com
+.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/