diff options
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 2a23a39d..61a86ec5 100644 --- a/README.markdown +++ b/README.markdown @@ -113,7 +113,7 @@ newer](http://wiki.bash-hackers.org/scripting/bashchanges). This is why I use older syntax for certain things such as appending items to arrays: ```bash -array=("${array[@]}" "$item") +array=[${#array[@]}]=$item ``` Compare this to the much nicer syntax available since 3.1-alpha1, which |