結果 : shell script get last element of array