From quanta Wed Oct 03 16:09:06 2007 From: Alan Richmond Date: Wed, 03 Oct 2007 16:09:06 +0000 To: quanta Subject: Re: [Quanta] newbie - Remove blank lines Message-Id: <200710030909.07002.alan () aardwolfweb ! com> X-MARC-Message: https://marc.info/?l=quanta&m=119142781024096 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