2019-06-08 01:08:17 +02:00
|
|
|
# vim: set ft=awk :
|
2019-06-07 17:53:42 +02:00
|
|
|
BEGIN {
|
|
|
|
dim = "\x1B[2m"
|
|
|
|
cyan = "\x1B[36m"
|
|
|
|
reset = "\x1B[0m"
|
|
|
|
}
|
|
|
|
{
|
2019-08-20 04:06:52 +02:00
|
|
|
# Strip carriage returns from line
|
|
|
|
gsub(/\r/, "", $0)
|
|
|
|
|
2019-06-07 19:25:14 +02:00
|
|
|
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
|
2019-06-07 17:53:42 +02:00
|
|
|
print dim cyan $0 reset
|
|
|
|
} else {
|
|
|
|
print $0
|
|
|
|
}
|
|
|
|
}
|