[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] newbie - Remove blank lines
From: Alan Richmond <alan () aardwolfweb ! com>
Date: 2007-10-03 16:09:06
Message-ID: 200710030909.07002.alan () aardwolfweb ! com
[Download RAW message or body]
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
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic