Re: match across line using grep
On Mon, 02 Aug 2010 14:56:45 +0800, Zhang Weiwu wrote:
> I'm grepping a bunch of files each have a segment code that executes a
> SQL. My problem is that the query spans across several lines and I can't
> seem to make grep honor (?s) for that.
(...)
Google says there is a package named "pcregrep" that it may help with
this :-?
Curiously, "man grep" tell about "-P" swicth but it seems to be disable
for Debian package build:
***
grep: Support for the -P option is not compiled into this --disable-perl-
regexp binary
***
Greetings,
--
Camaleón
Reply to: