Re: newbie - Remove blank lines

Alan Richmond <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization Aardwolf Networking
Message-ID <[email protected]>
On Wednesday 03 October 2007 03:04:17 am Jens Herden wrote:
> But if you do it your way you have the problem that sed is reading from the
> file on the disk and writing to the disk again. If you want to use sed more
> efficiently with Quanta you better use is as a filter, reading from stdin
> and writing to stdout. This way Quanta can pipe the content of the current
> editor through it and would not work with the file on the disk.

I am sure you are right.  I've never used it that way, only from the command 
line.

> > Checking --help for -e tells me it's for adding an external script to
> > execution and takes a filename for an arg.
>
> But this _is_ wrong ;-) If you want to give an external file you would use
> -f and -e is to give the expression as argument directly.

You are right, my mistake.  I read "script" to mean "file" but there is also  
a "script-file".

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