v1.1.8
Improvement of compatibility to Bash
We add various features and bug fixes to this version from v1.1.6. Added test cases are as follows:
- v1.1.6 -> v1.1.7: https://github.com/shellgei/rusty_bash_test/blob/v1.1.7/test_fixed.bash
- v1.1.7 -> v1.1.8: https://github.com/shellgei/rusty_bash_test/blob/v1.1.8/test_fixed.bash
What's Changed
- Added support for Android platform by @YumeYuka in #143
- Enabled to apply the integer mode to arrays and associative arrays
- Fixed some bugs around IFS
- Enabled to read a value to an element of an array
### an example ###
🍣 read hoge[1] <<< abc
🍣 echo ${hoge[1]}
- Enabled to use
unset
toward an array element - Considered
${a[ ]}
as${a[0]}
- Enabled to show the list of traps with
trap
command - Supported options
-a
option (auto export of variables)-C
option (protection of files at redirects)- execfail
- lastpipe
- Fixed single quoting rule on the value check of double quoted braced parameters
$ echo "${A-'"""'hey}"
''hey
$ echo "${A-'"\"'hey}"
'"'hey
$ echo "${A-'"aa"'hey}"
'aa'hey
- Fixed
eval
andlet
commands
New Contributors
Full Changelog: v1.1.6...v1.1.8