aboutsummaryrefslogblamecommitdiffstats
path: root/filters/plaintext
blob: aa22eb701d7ad8bae0e7495cb962f56218517754 (plain) (tree)
1
2
3
4
5
6

                 
       


                         










                                                     
#!/usr/bin/awk -f

BEGIN {
	dim = "\033[2m"
	cyan = "\033[36m"
	reset = "\033[0m"
}
{
	# Strip carriage returns from line
	gsub(/\r/, "", $0)

	if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
		print dim cyan $0 reset
	} else {
		print $0
	}
}