dotfiles/.mutt/scripts/display-filter

9 lines
227 B
Plaintext
Raw Normal View History

2022-12-08 13:17:01 +01:00
#!/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