in reply to repeat data at one line and grep as pre-set format
perl -n -e'print join(" ", (split(/\s+/))[0,1]), "\n"' yourfile.txt [download]