$ cat file
line1: Joe Frank tom Jim Michelle Antony
line2: Frank Joe tom Jim Antony Michelle higgs julien
$ arr=`cat file | grep line1`
$ echo $arr
line1: Joe Frank tom Jim Michelle Antony
$ echo ${arr[1]}
line1: Joe Frank tom Jim Michelle Antony
Joe
一方、私はの出力として期待していましたecho ${arr[1]}
行内の各名前を一時配列に入れる最短の方法はありますか。