I have a file which is something like this:
Now I search through the file for a particular string, say "bb". Once I get the match in the file I want to delete that line "bb:yy". How do I do that?
This file will be accessed by scripts many times, could be at the same time.
I need to take care of that too?