I'm wanting to find the results of a multi-line regular expression in linux. I tried grep, but like most linux utilities it's line based.
Is there something similar that allows me to search across multiple lines and simply output the matches?
Not perl, awk etc, unless I can give it a regex directly.
The problem
I've done svn propget --recursive on my subversion repositories and now want to extract all trunk entries, which would require a regex of the form ^http[^ ]trunk.$$ (where it starts at "http" at the start of the line, and finishes at an empty line.