Control: tag -1 + patch pending
Hi again
Axel Beckert wrote:
> The sole reason I use it over grep is that it supports multiline
> matches. It though seems that grep might be able to do that — albeit
> non-obviously — via "grep -Pzov", too.
Nope, even much simpler cases fail to remove just a substring from a
single line:
~ → printf 'foo\ngnarz\nbar\n' | fgrep -voz nar
~ → printf 'foo\ngnarz\nbar\n' | fgrep -ov nar
etc.
> Otherwise, I'll probably just use the original with "perl -E". It's
> just the build system trying to remove any unwanted crap (multiline
> tags including their contents) from the generated HTML
> documentation.
The following change works and produces byte for byte the identical
result as "pcregrep -Mv", it's just a bit longer:
- pcregrep -Mv
'