about summary refs log tree commit diff stats
path: root/adapter/tools/urldec.nim
blob: b26fcb68e66fada84ffa159d9c9e405b1f2ef435 (plain) (blame)
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()))