Re: newbie - Remove blank lines

Alan Richmond <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization Aardwolf Networking
Message-ID <[email protected]>
On Monday 01 October 2007 09:29:35 pm Paul Nichols wrote:
> Is there an easy way to remove a lot of extra lines in a .php file?


sed -i '/^$/d' yourFile.php

Put it in a loop for multiple files.

To keep it on topic, you could connect it to a button in Quanta.

-Alan

-- 
Alan Richmond
Aardwolf Web
707-442-7470
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.