diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-14 17:57:51 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-14 17:57:51 +1300 |
commit | 34140cb573181d9789a206ed27c8ddc902b96990 (patch) | |
tree | 2c2938d64fe9d316b7a0e57268642f7b7a3af463 | |
parent | Update README with newly adopted array app method (diff) | |
download | dotfiles-34140cb573181d9789a206ed27c8ddc902b96990.tar.gz dotfiles-34140cb573181d9789a206ed27c8ddc902b96990.zip |
Nope, still wrong
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 61a86ec5..cdc1eb86 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 |