perl -i.bak -e 'undef $/; $_=<>; s/line1\nline1/new content/g; print' files ..
In reply to Re: How can I match a multi-line regexp?
by wesal
in thread How can I match a multi-line regexp?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |