17 lines
243 B
Text
17 lines
243 B
Text
|
# vim: set ft=awk :
|
||
|
BEGIN {
|
||
|
dim = "\x1B[2m"
|
||
|
cyan = "\x1B[36m"
|
||
|
reset = "\x1B[0m"
|
||
|
}
|
||
|
{
|
||
|
# Strip carriage returns from line
|
||
|
gsub(/\r/, "", $0)
|
||
|
|
||
|
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
|
||
|
print dim cyan $0 reset
|
||
|
} else {
|
||
|
print $0
|
||
|
}
|
||
|
}
|