rfcstrip

Strips headers and footers from RFCs and Internet-Drafts

brewmacoslinux
Try with needOr install directly
Source

About

Strips headers and footers from RFCs and Internet-Drafts

Commands

rfcstrip

Examples

Strip headers and footers from an RFC file$ rfcstrip rfc5321.txt > rfc5321_stripped.txt
Process an Internet-Draft document$ rfcstrip draft-ietf-example.txt
Strip multiple RFC files in batch$ for f in *.txt; do rfcstrip "$f" > "${f%.txt}_clean.txt"; done