summary refs log tree commit diff stats
path: root/contrib/plaintext
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/plaintext')
-rwxr-xr-xcontrib/plaintext13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/plaintext b/contrib/plaintext
new file mode 100755
index 0000000..82fe57e
--- /dev/null
+++ b/contrib/plaintext
@@ -0,0 +1,13 @@
+#!/bin/awk -f
+BEGIN {
+	dim = "\x1B[2m"
+	cyan = "\x1B[36m"
+	reset = "\x1B[0m"
+}
+{
+	if ($0 ~ /On .*, .* wrote:/ || $0 ~ />+/) {
+		print dim cyan $0 reset
+	} else {
+		print $0
+	}
+}
.9.0b2&id=3a54161b2391705617f5790b65e35fc4edad0731'>^
f5db66a1 ^
76e9b89a ^
a666f32b ^








1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41