aboutsummaryrefslogblamecommitdiffstats
path: root/dmenu/unicode.d/conv
blob: ca8fb3561a5f50f4d3806cd55f2a5784a79d9820 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                                      
#!/usr/bin/python3
try:
    while True:
        cols = input().split('\t')
        if len(cols) == 2 and '<' not in cols[1] and cols[0] and  all(c in '0123456789abcdefABCDEF' for c in cols[0]):
            print(chr(int(cols[0], 16)) + ' ' + cols[0] + ' ' + cols[1])
except EOFError:
    pass