[kde-linux] kate plugins and external commands not working

Bram Schoenmakers bramschoenmakers at kde.nl
Wed May 10 07:49:26 UTC 2006


Op dinsdag 09 mei 2006 07:09, schreef Donatas G.:

Hi,

> 2006 m. gegužė 5 d., penktadienis 14:19, Bram Schoenmakers rašė:
> > You don't read the contents of the file and put the modified contents
> > back. Did you already check the html-tidy.sh script, it's a nice example
> > of how it should work. Get the contents with DCOP, run sed on it and put
> > it back again in Kate with DCOP.
>
> OK, I could get sed to read the file and replace the contents of the open
> file, but how do I do it with DCOP?
>
> Could someone help me with this? „Html tidy“ script looks a bit complicated
> for me, and after reworking it I get errors...
>
> see the attached

You're missing an ending quote at the end of the trap line at the beginning of 
the script. Fix that and your script just works.

Kind regards,

-- 
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

GPG - 0x4890861528516B16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060510/8e74e888/attachment.sig>


More information about the kde-linux mailing list