I have a file that contains multiple instances of code that I need to delete. Here is an example:
I have a sequence file:
$ cat file
I want to calculate the longest stretch of C+T. I ...
I have a file in which I want to print all the lines between two patterns. Pattern1 = # Begin TRACE A Data and Pattern 2 =# Done Data $capture, I want to print every line between pattern1 and pattern2....
I'm trying to print only a matching word that are found through a regular expression. Below, I want all the OPENSSL_NO_* options that are present in the source code:
$ grep -IR OPENSSL_NO