Linux Array

Linux 数组:

#!/bin/bash

array_pt=( 1 2 3 4 5 6 )

echo "first element:"  ${array_pt[0]}


echo "the length of array_pt:" ${#array_pt[@]}  
原文地址:https://www.cnblogs.com/beidongxing/p/7127151.html