On Tue, Jan 20, 2004 at 12:39:55PM -0600, Lewick, Taylor wrote:

> Hi all, I could use some help with an expression or code to delete
> multiple blank lines and replace it with only one blank line...
> 
> I know how this can be done in sed, but am not sure how to do it in
> perl...

perl -i~ -p00e0 file1 file2 ...

perldoc perlrun

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to