Re: newbie - Remove blank lines
Alan Richmond <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Organization | Aardwolf Networking |
| Message-ID | <[email protected]> |
On Tuesday 02 October 2007 09:35:19 am Jens Herden wrote: > > sed -i '/^$/d' yourFile.php > > Should this be: > > sed -e '/^$/d' yourFile.php > > ? No, -i tells sed to replace the old file with the editted one. I even tested it before I posted and everything. :) Checking --help for -e tells me it's for adding an external script to execution and takes a filename for an arg. -Alan -- Alan Richmond Aardwolf Web 707-442-7470