Add entries for URL encoding and decoding

This commit is contained in:
Crestwave
2019-01-22 13:36:58 +08:00
parent 50fb75db3b
commit 94d1ec50df
4 changed files with 113 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ $ hello_world="value"
$ var="world"
# Declare a nameref.
$ declare -n "ref=hello_$var"
$ declare -n ref=hello_$var
$ printf '%s\n' "$ref"
value
@@ -31,7 +31,7 @@ value
```shell
$ var="world"
$ declare hello_$var=value
$ declare "hello_$var=value"
$ printf '%s\n' "$hello_world"
value
```