📜  bash 将单词拆分为字符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:37.180000             🧑  作者: Mango

代码示例1
ss="abcdefghi"
my_array=( `echo $ss | grep -o . ` )

echo ${my_array[2]} 

give c