dotfiles/.mutt/scripts/display-filter

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