SyntaxFix
Write A Post
Hire A Developer
Questions
It seems you could simply go with
awk '{print $1 " " $2}' file
This prints the two first fields of each line in your input file, separated with a space.