diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-02-10 12:53:29 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-02-10 13:08:38 (EST) |
commit | 13b0d1e7fadc29f7ed93ecdc5b99a57ad9ce947a (patch) | |
tree | d129af516c4bf30cb16bf07f12d34f34db9c39cf | |
parent | 9666dfdf4ccaae54df048d69f27bba76039d4657 (diff) | |
download | eggshell-13b0d1e7fadc29f7ed93ecdc5b99a57ad9ce947a.zip eggshell-13b0d1e7fadc29f7ed93ecdc5b99a57ad9ce947a.tar.gz eggshell-13b0d1e7fadc29f7ed93ecdc5b99a57ad9ce947a.tar.bz2 |
research/arrays.txt: Fix array length increment in push()
-rw-r--r-- | research/arrays.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/research/arrays.txt b/research/arrays.txt index 9fa3fa2..a6da93b 100644 --- a/research/arrays.txt +++ b/research/arrays.txt @@ -87,7 +87,7 @@ libesh functions: eval "__l=\${${__a}_l}" if ! eval "\${${__a}__${__l}+:}"; then eval "${__a}__${__l}=\${__v}" - eval "${__a}_l=\$((\${__l}))" + eval "${__a}_l=\$((\${__l} + 1))" fi } split() |