logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mhdr — print message headers

Authors

       Leah Neukirchen <leah@vuxu.org>

Description

mhdr prints the headers of the specified msgs.  (See mmsg(7) for the message argument syntax.)

       If no msgs are specified, mhdr will default to the current message.

       If no hdrs are specified, mhdr will print all headers.

       The options are as follows:

       -hhdrs
               Only print the values of headers in the colon-separated list hdrs.

       -pparameter
               Extract a particular RFC 2045 parameter from the specified hdrs.

       -d      Decode the hdrs according to RFC 2047.

       -H      Prefix output lines with the filename of the message, followed by a tab.

       -M      Search for all occurrences of the hdrs (default: only the first).

       -A      Scan for RFC 5322 addresses in the hdrs and print them, one per line.

       -D      Assume header contains RFC 5322 date and print as Unix timestamp.

Exit Status

       The mhdr utility exits 0 on success, 1 if no header was printed, and >1 if an error occurs.

License

mhdr is in the public domain.

       To  the  extent  possible  under  law,  the  creator of this work has waived all copyright and related or
       neighboring rights to this work.

       http://creativecommons.org/publicdomain/zero/1.0/

Debian                                           August 17, 2016                                         MHDR(1)

Name

       mhdr — print message headers

See Also

mmsg(7)

       N.  Freed  and  N.  Borenstein, MultipurposeInternetMailExtensions(MIME)PartOne:FormatofInternetMessageBodies, RFC 2045, November 1996.

       N. Freed and N. Borenstein, MIME(MultipurposeInternetMailExtensions)PartThree:MessageHeaderExtensionsforNon-ASCIIText, RFC 2047, November 1996.

       P. Resnick (ed.), InternetMessageFormat, RFC 5322, October 2008.

Synopsis

mhdr [-hhdrs [-pparameter]] [-d] [-H] [-M] [-A | -D] [msgs...]

See Also