Skip to content

Instantly share code, notes, and snippets.

@asokolsky
Created June 5, 2024 21:30
Show Gist options
  • Save asokolsky/ac2af4b96a0c9c8b4a335e3536147651 to your computer and use it in GitHub Desktop.
Save asokolsky/ac2af4b96a0c9c8b4a335e3536147651 to your computer and use it in GitHub Desktop.
one-liner to do url-decoding
echo -n "%21%20" | python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()));"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment