Skip to content

Instantly share code, notes, and snippets.

@HeLiBloks
Created March 31, 2016 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeLiBloks/5e792c08ff1a0518693afde9adf99369 to your computer and use it in GitHub Desktop.
Save HeLiBloks/5e792c08ff1a0518693afde9adf99369 to your computer and use it in GitHub Desktop.
decodes urls to human readable format
#!/bin/sh
sed -re 's/[%]([[:xdigit:]]{,2})/\\\x\1/g' "$1"| xargs -0 printf '%b'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment