aboutsummaryrefslogtreecommitdiff
path: root/filters/plaintext
diff options
context:
space:
mode:
Diffstat (limited to 'filters/plaintext')
-rwxr-xr-xfilters/plaintext13
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
+ }
+}