Bash-URL-decode: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== URL decode in bash === <pre> #!/bin/bash function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } urldecode "$(cat $1)" </pre> [https://stackoverflow.com/questions/6...") |
(No difference)
|
Revision as of 08:49, 15 August 2022
URL decode in bash
#!/bin/bash function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } urldecode "$(cat $1)"