FAQ

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 - paul@pjcj.net
http://www.pjcj.net

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 5 | next ›
Discussion Overview
groupbeginners @
categoriesperl
postedJan 20, '04 at 6:41p
activeJan 20, '04 at 7:37p
posts5
users4
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase