blob: 256841a780c0e68fbd3feb1abc2c524c0ebfeed7 (
plain) (
tree)
|
|
# Format an RFC in text format for terminal reading
# A record is a paragraph
BEGIN {
RS = ""
ORS = "\n\n"
}
{
# Strip out control characters, except tab and newline
gsub(/[^[:print:]\n\t]/, "")
# If there's anything left, print it
if (length)
print
}
|