summaryrefslogtreecommitdiff
path: root/public/bash-arrays.md
diff options
context:
space:
mode:
Diffstat (limited to 'public/bash-arrays.md')
-rw-r--r--public/bash-arrays.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/public/bash-arrays.md b/public/bash-arrays.md
index cbbd4c4..23d90bb 100644
--- a/public/bash-arrays.md
+++ b/public/bash-arrays.md
@@ -407,8 +407,8 @@ for the arguments array, which is; though getting subset arrays from
`$@` and `$*` is not (tip: use `set --` to re-purpose the arguments array).
Writing for various versions of Bash, though, is pretty do-able.
-Everything here works all the way back in bash-2.0 (1996), with the
-following exceptions:
+Everything here works all the way back in bash-2.0 (December 1996),
+with the following exceptions:
* The `+=` operator wasn't added until Bash 3.1.
@@ -430,5 +430,6 @@ following exceptions:
* In Bash 4.1 and higher, it works in the way described in the
main part of this document.
-Bash 1.x won't compile with modern GCC, so I couldn't verify how it
-behaves.
+Now, Bash 1.x doesn't have arrays at all. `$@` and `$*` work, but
+using `:` to select a range of elements from them doesn't. Good thing
+most boxes have been updated since 1996!