diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-11-30 17:24:01 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-07 14:23:42 +0100 |
| commit | 4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f (patch) | |
| tree | 99de1c0323d87fc798bafacdd5c04f7566322da4 /.mblaze/digest-headers.awk | |
| download | config-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.tar.gz config-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.zip | |
Initial commit
Diffstat (limited to '.mblaze/digest-headers.awk')
| -rw-r--r-- | .mblaze/digest-headers.awk | 10 |
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 } | ||
