aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-12-14 17:57:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-12-14 17:57:51 +1300
commit34140cb573181d9789a206ed27c8ddc902b96990 (patch)
tree2c2938d64fe9d316b7a0e57268642f7b7a3af463
parentUpdate README with newly adopted array app method (diff)
downloaddotfiles-34140cb573181d9789a206ed27c8ddc902b96990.tar.gz
dotfiles-34140cb573181d9789a206ed27c8ddc902b96990.zip
Nope, still wrong
-rw-r--r--README.markdown2
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