I want to ask you if you know how to delete lines in single file using sed command on Linux.
For example I have got file:
something something- somethingelse
And I want create sed command to delete all lines where line contains "something", but also I dont want delete line where is something-. Where is specific char like "-". Thank you for advice.
I tried to make something like sed -i "/something/d".