diff options
Diffstat (limited to 'filters/plaintext')
-rwxr-xr-x | filters/plaintext | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/filters/plaintext b/filters/plaintext new file mode 100755 index 0000000..71e33f7 --- /dev/null +++ b/filters/plaintext @@ -0,0 +1,13 @@ +# 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 + } +} |