diff options
-rw-r--r-- | public/bash-arrays.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/bash-arrays.md b/public/bash-arrays.md index e1290ce..e5e0a9d 100644 --- a/public/bash-arrays.md +++ b/public/bash-arrays.md @@ -410,6 +410,11 @@ Everything here works all the way back in bash-2.0 (1996), with the following exceptions: * The `+=` operator wasn't added until Bash 3.1. + + * As a work-around, use + <code>array[${#array[*]}]=<var>word</var></code> to append a + single element. + * Accessing subset arrays of the arguments array is inconsistent if <var>pos</var>=0 in <code>${@:<var>pos</var>:<var>len</var>}</code>. |