mirror of
https://github.com/mr0xb/scripts.git
synced 2026-08-27 19:34:57 -04:00
add old scripts
This commit is contained in:
parent
1c58245cc5
commit
9c1772908b
18 changed files with 338 additions and 0 deletions
11
util/urld
Executable file
11
util/urld
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
urldecode_single_printf () {
|
||||
local string=$1
|
||||
|
||||
string=${string//+/ }
|
||||
|
||||
printf '%b\n' "${string//%/\\x}"
|
||||
}
|
||||
|
||||
urldecode_single_printf "$1"
|
||||
Loading…
Reference in a new issue