Here is the problem
I have 1 file: foo.txt witch look like this:
Code:
123K bla bla bla
12k sdfnlkbbslfbqs
68456K dsfsfdsdfsqfze
and i want to delete every thing after the first "K" on each line. So after modification the file will look like this:
but i don't arrive to find the good sed syntax to do it.