Hi, all.
I would like to edit the string "containing" status from the file as following.
before
Y43D4A.5b WBGene00012791 status=Partially_confirmed
F27E5.1 WBGene00009192 asah-2
M04G12.4b WBGene00010868 somi-1
M04G12.4b WBGene00010868 somi-1
Y75B7AR.1 WBGene00022287 status=Confirmed
after
$ head after.file
Y43D4A.5b WBGene00012791
F27E5.1 WBGene00009192 asah-2
M04G12.4b WBGene00010868 somi-1
M04G12.4b WBGene00010868 somi-1
Y75B7AR.1 WBGene00022287
Could you please some advices? Actually this file is very long, so I need operation by commands. I really appreciated your advices!
I could edit my file! Thank you for your advices even though this question wasn't directly related to bioinformatics.