current commit
200921.2 · url: tweak url{decode,encode} scripts
#!/bin/sh

# RFC 3986, please.
exec python3 -c "
import sys
import urllib.parse

stdin = sys.stdin.read()
print(urllib.parse.quote(stdin, safe='~'), end='')
"