dotfiles/.mutt/scripts/display-filter
2022-12-08 13:17:01 +01:00

9 lines
227 B
Bash
Executable File

#!/bin/sh
cat - \
| sed 's|\[--\(.*unsupported.*\)--\]$|## Attachment:\1|g' \
| egrep -v '\[-- Attachment #1 --\]$' \
| egrep -v '\[-- Type.* --\]$' \
| fgrep -v "WARNING: We have NO indication" \
| cat -s