Skip to content

v0.8.2

Choose a tag to compare

@ryuichiueda ryuichiueda released this 20 Oct 04:31
· 2128 commits to main since this release

Supported += for variables

Here are examples.

🍣 A=γ‚γ„γ†γˆγŠ
🍣 A+=かきくけこ
🍣 echo $A
γ‚γ„γ†γˆγŠγ‹γγγ‘γ“
🍣 A=(aaa)
🍣 A+=(bbb ccc)
🍣 echo ${A[@]}
aaa bbb ccc

caution

These behaviors of Bash are not simulated. The results may change on sush.

$ A=(aaa bbb)
$ A+=ccc
$ echo ${A[@]}
aaaccc bbb
$ B=aaa
$ B+=(bbb ccc)
$ echo ${B[@]}
aaa bbb ccc