Skip to content

v1.1.8

Compare
Choose a tag to compare
@ryuichiueda ryuichiueda released this 09 Jun 06:15
· 256 commits to main since this release

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:

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 and let commands

New Contributors

Full Changelog: v1.1.6...v1.1.8