dotfiles/bin/url-decode

6 lines
92 B
Plaintext
Raw Permalink Normal View History

2021-10-22 11:34:27 +00:00
#!/bin/bash
function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
urldecode "$@"