☰
Debian Codegraph
@
0.22.0-2
0.22.0-1
/
/
filters
/
plaintext
☽
☼
filters/plaintext
code
plain
raw
Expat
2020 Drew Devault <
[email protected]
>; 2021-2023 Robin Jarry <
[email protected]
>
debian/copyright
1
#!/usr/bin/awk -f
2
3
BEGIN {
4
dim = "\033[2m"
5
cyan = "\033[36m"
6
reset = "\033[0m"
7
}
8
{
9
# Strip carriage returns from line
10
gsub(/\r/, "", $0)
11
12
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
13
print dim cyan $0 reset
14
} else {
15
print $0
16
}
17
}