aaaaaaaa 09
bbbbbbbb 90
ccccccccccccccc 89
ddddd 09
aaaaaaaa 09 bbbbbbbb 90 ccccccccccccccc 89 ddddd 09 useingUsing sed/awk/replace , in the above text iI want to remove anything that comes after the first space in each line. forFor example the output will be :
aaaaaaaa
bbbbbbbb
ccccccccccccccc
ddddd
aaaaaaaa bbbbbbbb ccccccccccccccc ddddd any help will be appereciated appreciated.