searching/grepping for words "near" each other

Kevin D. Clark kevin_d_clark at comcast.net
Thu Apr 30 16:45:14 EDT 2009


Ben Scott writes:

> On Thu, Apr 30, 2009 at 12:02 PM, Kevin D. Clark

> > ("0777" causes Perl to "undef $/" (go into "slurp mode"),
> 
>   It took me a minute, and a RTFM moment, to figure that out.  For
> those who, like me, didn't get it: That's a capital letter "oh", not a
> zero.  

Err, no, it's the other way around:  that most certainly is a zero and
not an "oh".

One other small correction: when I wrote "accepting anywhere from
1-200 *lines* of cruft between the two parts of the phrase" I meant to
write "accepting anywhere from 1-200 *characters* of cruft between the
two parts of the phrase".

Regards,

--kevin
-- 
"And don't tell me there isn't one bit of difference between null and
 space, because that's exactly how much difference there is.  :-)"
    -- Larry Wall


More information about the gnhlug-discuss mailing list