Suppose I have an array where each element in the array is in the following format:
someText (x1,y1,z1) (x2,y2,z2) (x3,y2,z3) KEY
What is the a
echo "someText (x1,y1,z1) (x2,y2,z2) (x3,y2,z3) KEY"|awk '{print $1,$NF}'