Release new version 0.19.7
[grml-etc-core.git] / usr_share_grml / zsh / functions / urldecode
1 #f5# RFC 2396 URL encoding in Z-Shell
2 emulate -L zsh
3
4 setopt extendedglob
5 input=( ${(s::)1} )
6 print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}}