From 2ff56193a9441b5652fa016beff60b4ae6937e89 Mon Sep 17 00:00:00 2001 From: Larry Hynes Date: Sat, 1 Jul 2017 17:35:24 +0100 Subject: [PATCH 1/2] Changes to mhdr.1 - Use 'specified' instead of 'given' and 'passed' - Clarify tab-separation for '-H' - Use 'one per line' instead of 'line by line' Closes: #52 [via git-merge-pr] --- man/mhdr.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man/mhdr.1 b/man/mhdr.1 index ddfb1ba..2c4d242 100644 --- a/man/mhdr.1 +++ b/man/mhdr.1 @@ -14,7 +14,7 @@ .Op Ar msgs\ ... .Sh DESCRIPTION .Nm -prints the mail headers of the given +prints the mail headers of the specified .Ar msgs . See .Xr mmsg 7 @@ -22,7 +22,7 @@ for the message argument syntax. .Pp If no .Ar msgs -are passed, +are specified, .Nm will default to the current message. .Pp @@ -34,13 +34,13 @@ Only print the values of the headers in the colon-separated list .It Fl d Decode the headers according to RFC 2047. .It Fl H -Prefix all output lines with the file name of the message, separated -by a tab. +Prefix output lines with the file name of the message, +followed by a tab. .It Fl M Search for all occurrences of the headers (default: only the first). .It Fl A -Scan for RFC 5322 addresses in the headers and print them line by line. +Scan for RFC 5322 addresses in the headers and print them, one per line. .It Fl D Assume header contains RFC 5322 date and print as Unix timestamp. .El @@ -48,7 +48,7 @@ Assume header contains RFC 5322 date and print as Unix timestamp. The .Nm utility exits 0 on success, -1 when no header was printed, +1 if no header was printed, and >1 if an error occurs. .Sh SEE ALSO .Xr mmsg 7 From a0a922fb919a6d8b12f07de41cff42e600dbfbac Mon Sep 17 00:00:00 2001 From: Larry Hynes Date: Sat, 1 Jul 2017 17:46:39 +0100 Subject: [PATCH 2/2] magrep.1: Improve EXIT STATUS wording, in line with .Ex -std Closes: #53 [via git-merge-pr] --- man/magrep.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/magrep.1 b/man/magrep.1 index 7a79996..8166a64 100644 --- a/man/magrep.1 +++ b/man/magrep.1 @@ -102,8 +102,9 @@ Invert the match; print (or count) all files where does not match. .El .Sh EXIT STATUS +The .Nm -exits 0 on success, 1 if no match was found +utility exits 0 on success, 1 if no match was found and >1 if an error occurs. .Sh SEE ALSO .Xr grep 1 ,