Re: newbie - Remove blank lines

Paul Nichols <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
Alan Richmond wrote:
> 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
> 

Thank you Alan,

I'll try that and see if I can figure out how to "connect it to a button
in Quanta".

Paul
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.