Bash-URL-decode
Jump to navigation
Jump to search
URL decode in bash
#!/bin/bash function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } urldecode "$(cat $1)"
#!/bin/bash function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } urldecode "$(cat $1)"