O
osiris
Is it possible to search for strings in a file over multiple lines
using a one-liner from the shell?
What I want to do is find all the text between
a line beginning with "--" or "-- " and
ending with ")$" where '$' is, of course, the EOL char.
I also would like to know how to find the exclusion
so that the output produces everything but the enclosed string above.
Is this possible with perl? Thanks a million.
I have perl 5.8.6 on OSX 10.4 and 5.6.1 on Solaris 7.
using a one-liner from the shell?
What I want to do is find all the text between
a line beginning with "--" or "-- " and
ending with ")$" where '$' is, of course, the EOL char.
I also would like to know how to find the exclusion
so that the output produces everything but the enclosed string above.
Is this possible with perl? Thanks a million.
I have perl 5.8.6 on OSX 10.4 and 5.6.1 on Solaris 7.