in reply to Re^2: Two line match
in thread Two line match
The -p option enables line-by-line processing, so you have to change perls notion of a line:
perl -pe 'BEGIN { $/ = undef }; s/---\n---/---/g;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Two line match
by jrosenfeld (Initiate) on Mar 10, 2008 at 15:38 UTC | |
by moritz (Cardinal) on Mar 10, 2008 at 15:43 UTC |