in reply to repeat data at one line and grep as pre-set format

Hi,
perl -n -e'print join(" ", (split(/\s+/))[0,1]), "\n"' yourfile.txt

Regards,
svenXY
Update: fixed the line, works now