about summary refs log blame commit diff stats
path: root/adapter/tools/urldec.nim
blob: b26fcb68e66fada84ffa159d9c9e405b1f2ef435 (plain) (tree)
1
2
3
4
5
6





                                                        
# Percent-decode input received on stdin.
#TODO a streaming implementation of this could be useful

import utils/twtstr

stdout.write(percentDecode(stdin.readAll()))