aerc/contrib/plaintext

15 lines
211 B
Plaintext
Raw Normal View History

#!/usr/bin/env -S awk -f
2019-06-07 23:08:17 +00:00
# vim: set ft=awk :
2019-06-07 15:53:42 +00:00
BEGIN {
dim = "\x1B[2m"
cyan = "\x1B[36m"
reset = "\x1B[0m"
}
{
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
2019-06-07 15:53:42 +00:00
print dim cyan $0 reset
} else {
print $0
}
}