in reply to Re: Two line match
in thread Two line match
cat foo.txt | perl -p -e 's/-----\n-----/------/g' and it does not do anything. Is there a problem with multiple lines and command-line matching? Jeff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Two line match
by moritz (Cardinal) on Mar 10, 2008 at 15:25 UTC | |
by jrosenfeld (Initiate) on Mar 10, 2008 at 15:38 UTC | |
by moritz (Cardinal) on Mar 10, 2008 at 15:43 UTC | |
|
Re^3: Two line match
by grizzley (Chaplain) on Mar 10, 2008 at 16:12 UTC | |
by jrosenfeld (Initiate) on Mar 10, 2008 at 16:47 UTC | |
by grizzley (Chaplain) on Mar 10, 2008 at 18:17 UTC |