perlknight has asked for the wisdom of the Perl Monks concerning the following question:
when there is "host-abc" and "messages" in the line replace the whole line. Thanks.host-abc:/var/log/messages:::read_intr;I/O error;AddrMarkNotFound;Data +Request Error:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: replace a line when regex match...
by revdiablo (Prior) on Apr 11, 2005 at 20:40 UTC | |
|
Re: replace a line when regex match...
by tlm (Prior) on Apr 11, 2005 at 20:44 UTC | |
|
Re: replace a line when regex match...
by lithron (Chaplain) on Apr 11, 2005 at 20:45 UTC | |
by perlknight (Pilgrim) on Apr 12, 2005 at 05:13 UTC | |
by revdiablo (Prior) on Apr 12, 2005 at 05:25 UTC |