File1:
hello (OPTION1) 123456 123456 123456
world (OPTION1) 123456 123456 123456
foo (OPTION1) 123456 123456 123456
bar (OPTION1) 123456 123456 123456
How would one remove each string after each first word in the textfile File1?
This would probably be down with awk/sed/cat - but I cannot figure it out. I'm still new to editing via these utilities - perhaps others will benefit from my question.
The first words are not predictive (no wild cards), each first word is unique.