[PATCH] KNotes: geometry DCOP functions, DCOP newlines question
Jens Zurheide
jens.zurheide at gmx.de
Sun Jul 9 17:06:01 BST 2006
Michael Brade wrote:
> And I have another problem: is it possible to add newline characters with
> DCOP somehow? This
> dcop knotes KNotesIface newNote "title" "line1\nline2"
> doesn't work.
>
> In a script it is possible to use two lines like this
>
> dcop knotes KNotesIface newNote "title" "line1
> line2"
>
> but is this really the only possibility?
For bash this should work:
dcop knotes KNotesIface newNote "title" "line1"$'\n'"line2"
Have fun,
Jens
More information about the kde-core-devel
mailing list