Hello everyone. I need to write a Bash script to remove blocks of text from a given file. The idea is, the text to be removed will be marked by appearing between certain delimiter characters i.e.
Here's some text and ~this bit gets removed~, where tilda is the delimiter.
Could someone tell me the kind of commands I need to research to do stuff with text like this? I can work out the rest. Any help appriciated.
Steven.