awk '{printf("%s ",$1) }' <file name>