Skip to content

v1.2.1

Latest
Compare
Choose a tag to compare
@ryuichiueda ryuichiueda released this 12 Aug 07:30
· 4 commits to main since this release

Fixes around arrays and associative arrays and implementation of some features

We (four contributors!) have enhanced and revised various features. You can see the test script for v1.2.1 on https://github.com/shellgei/rusty_bash_test/blob/v1.2.1/test_fixed.bash .

support of >() (halfway)

🍣 echo 123 | tee >(rev) >(fold -b1) -
123
1
2
3
321
### issue: not yet connected to the subsequent pipe ###
🍣 echo 123 | tee >(rev) >(fold -b1) - | rev
1
2
3
321
321
γ€€γ€€γ€€γ€€γ€€γ€€γ€€#stopping here
γ€€
^CPid: Pid(15326), Signal: SIGINT

fixes around arrays and associative arrays

  • support of element append on associative arrays
🍣 declare -A a=( [i]=abc ) ; a+=( [i]+=def ); declare -p a
declare -A a=([i]="abcdef" )
  • support of integer mode on associative arrays

multi-language support by @LinuxBoy-96

$ LANG=ja_JP.UTF8 sush 
Homebrew Bash completions do not work in POSIX mode
Sushi shell (a.k.a. Sush), バージョン 1.2.1 - release
🍣 exit
$ LANG=ar_AR.UTF8 sush 
Homebrew Bash completions do not work in POSIX mode
Sushi shell (a.k.a. Sush), Ψ₯Ψ΅Ψ―Ψ§Ψ± 1.2.1 - release
🍣 

others

  • fixes for Android by @YumeYuka
  • fixes based on clippy warnings by @t-koba
  • implementation of declare -u
  • implement of ulimit (halfway)
  • implement of @k, @K, @Q for parameters
🍣 a=abc ; echo ${a@k}
'abc'
🍣 A=(a b) ; echo "${A[@]@K}"
0 "a" 1 "b"
🍣 A=(a b) ; echo "${A[@]@Q}"
'a' 'b'

merged pull requests

change log

Full Changelog: v1.2.0...v1.2.1

Thank you for all users and contributers!