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