summaryrefslogtreecommitdiff
path: root/.mblaze/digest-headers.awk
diff options
context:
space:
mode:
Diffstat (limited to '.mblaze/digest-headers.awk')
-rw-r--r--.mblaze/digest-headers.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/.mblaze/digest-headers.awk b/.mblaze/digest-headers.awk
new file mode 100644
index 0000000..bdf70f0
--- /dev/null
+++ b/.mblaze/digest-headers.awk
@@ -0,0 +1,10 @@
1#/^--- --- --- [0-9]/,/^$/ {
2/^Received: /,/^$/ {
3 if ($1 == "From:" || $1 == "Subject:" || $1 == "Date:" ||
4 $1 == "from:" || $1 == "subject:" || $1 == "date:" ||
5 $1 == "FROM:" || $1 == "SUBJECT:" || $1 == "DATE:" ||
6 $1 == "---" || NF == 0)
7 print;
8 next
9}
10{ print }

Generated with cgit - Back to sebastiano.tronto.net