I would like to use grep to remove certain strings from a text file but I can't use the grep -v option because it removes the whole line that includes the string whereas I just want to remove the string. How do I go about doing that?
My input file:
Magmas CEU
rs12542019 CPNE1
RBM12 CEU
rs10515181 CPNE1
RBM12 CEU
I want to remove all "CEU" from the txt files so that the output looks like:
Magmas
rs12542019 CPNE1
RBM12
rs10515181 CPNE1
RBM12
---------- Post updated at 08:26 PM ---------- Previous update was at 06:41 PM ----------
deleted