TRIM-HEADERS

Section: Misc. Reference Manual Pages (1L)
Index Return to Main Contents
 

NAME

trim-headers - help keep mailbox files clean of trash headers  

SYNOPSIS

cat filename | trim-headers > filename2
trim-headers filename-list  

HP-UX COMPATIBILITY

Level:
HP-UX/CONTRIBUTED
Origin:
Hewlett-Packard Laboratories
 

DESCRIPTION

Trim-headers is a simple awk script that removes all headers from the specified folder, either standard input or one of a list of filenames, according to how it's invoked. The program knows about the following headers;

        From 
        From:
        Subject:
        To:
        Cc:
        Date:

All other headers are considered extraneous and are removed.  

AUTHOR

Dave Taylor, Hewlett-Packard Laboratories  

SEE ALSO

awk(1), printmail(1L), readmsg(1L)  

BUGS

The current incancation of the awk script doesn't understand the idea of multiple line header fields, so a message that has, say, a three line To: list will only have the first line saved...


 

Index

NAME
SYNOPSIS
HP-UX COMPATIBILITY
DESCRIPTION
AUTHOR
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 21:50:57 GMT, February 02, 2023