I was porting a few programs, originally written for Noah (bash
v2) a few years ago, to modern Linux (bash
v4): 【插件】终端单词默写软件 【插件】文件管理器(终端资源管理器) 【游戏】推箱子游戏,bash版
The main discrepancy being the assignments of array variables. In bash
version 2, I wrote: declare array=("'a' 'b' 'c' 'd'")
array=($1)
Which, for bash
version 4, need to be updated as: declare array=('a' 'b' 'c' 'd')
eval array=($1)