diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-27 09:32:46 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-27 09:32:46 -0400 |
commit | 177651bddab145c8a56cdfeb0d57b5fd95a6d0e2 (patch) | |
tree | 75681e3ab5c71b8cdb06f22247dfcd4a547393dc /filters/plaintext | |
parent | 59df06fe28ddde3607cb3080636e65d48b762baf (diff) | |
download | aerc-177651bddab145c8a56cdfeb0d57b5fd95a6d0e2.tar.gz |
Move contrib -> filters
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 + } +} |