summary refs log tree commit diff stats
path: root/contrib/plaintext
blob: b7feb44da8e681948abd9376151292fbbb5ae607 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env -S awk -f
# 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
	}
}