aboutsummaryrefslogtreecommitdiff
path: root/mail-iso2txt.sed
blob: d3bf4297fecefbb9f05913db6e190a5f1bf369e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sed -f
# mail-iso2txt.sed  -  20000906 <verde (a) aurelio net>
#   convert the email encoded chars =xx to the right hexa char
#
# ps.: needs GNU sed >= 3.02.80 because the s//\xnn/ notation

s|=09|\x09|g
s|=20|\x20|g
s|=B7|\xb7|g
s|=BA|\xba|g
s|=C1|\xc1|g
s|=C2|\xc2|g
s|=C3|\xc3|g
s|=C4|\xc4|g
s|=C5|\xc5|g
s|=C6|\xc6|g
s|=C7|\xc7|g
s|=C8|\xc8|g
s|=C9|\xc9|g
s|=CA|\xca|g
s|=CB|\xcb|g
s|=CC|\xcc|g
s|=CD|\xcd|g
s|=CE|\xce|g
s|=CF|\xcf|g
s|=D7|\xd7|g
s|=E1|\xe1|g
s|=E2|\xe2|g
s|=E3|\xe3|g
s|=E4|\xe4|g
s|=E5|\xe5|g
s|=E6|\xe6|g
s|=E7|\xe7|g
s|=E8|\xe8|g
s|=E9|\xe9|g
s|=EA|\xea|g
s|=EB|\xeb|g
s|=EC|\xec|g
s|=ED|\xed|g
s|=EE|\xee|g
s|=EF|\xef|g
s|=F1|\xf1|g
s|=F2|\xf2|g
s|=F3|\xf3|g
s|=F4|\xf4|g
s|=F5|\xf5|g
s|=F6|\xf6|g
s|=F7|\xf7|g
s|=F8|\xf8|g
s|=F9|\xf9|g
s|=FA|\xfa|g
s|=FB|\xfb|g
s|=FC|\xfc|g
s|=$||g