pctcode is a small utility to deal with percent-encoding in URI components.
it reads an URI component from standard input and outputs the encoded/decoded result to the standard output.
the behaviour of the utility is determined by the program name with which it is invoked.
applies percent-encoding to the standard input, prints the result to the standard output.
removes percent-encoding from the standard input, prints the result to the standard output.
RFC 3986: URI Generic Syntax (page 12, 2.1. Percent-Encoding)
pctcode is dedicated to the public domain.
git clone ssh://anongit@git.mohrie.net/para/pctcode.git