bash shell script array的相關文章
bash shell script array的相關公司資訊
bash shell script array的相關商品
UNIX Command Line: Using array in bash script
瀏覽:951
日期:2024-11-17
An example to illustrate the use of arrays in bash scripting. #!/bin/sh #Bash array implementation array=(bash ksh csh) len=${#array[*]} #Num elements in array echo "Array has $len members.They are:" i=0 while [ $i -lt $len ]; do echo "$i: ${array[$i]}" l...看更多