diff options
Diffstat (limited to 'contrib/plaintext')
-rwxr-xr-x | contrib/plaintext | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/plaintext b/contrib/plaintext new file mode 100755 index 00000000..82fe57ee --- /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 + } +} |