Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/URL-decoding/AWK/url-decoding-2.awk
Normal file
4
Task/URL-decoding/AWK/url-decoding-2.awk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
LC_ALL=C
|
||||
echo "http%3A%2F%2Ffoo%20bar%2F" | gawk -vRS='%[[:xdigit:]]{2}' '
|
||||
RT {RT = sprintf("%c",strtonum("0x" substr(RT, 2)))}
|
||||
{gsub(/+/," ");printf "%s", $0 RT}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue