aerc/contrib/plaintext
2019-06-13 20:17:39 -04:00

13 lines
186 B
Awk
Executable file

# vim: set ft=awk :
BEGIN {
dim = "\x1B[2m"
cyan = "\x1B[36m"
reset = "\x1B[0m"
}
{
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
print dim cyan $0 reset
} else {
print $0
}
}