Last active
January 29, 2019 19:08
-
-
Save timmc/383084c85e3d4d56222d099a47d7c5e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read line; do | |
url_encoded="${line//+/ }" | |
printf '%b\n' "${url_encoded//%/\\x}" | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment