xnee-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xnee-devel] cnee does not work when using standard input instead of rea


From: Veijo Ryhänen
Subject: [Xnee-devel] cnee does not work when using standard input instead of real file ?
Date: Mon, 30 Jan 2006 17:27:37 +0200

Hello,

(First of all, I am very sorry that I haven't find time to answer those numerous questions which
raise up after my previous email postings to this list, because I have been so busy
when building my xnee -scripts. Hopefully I will answer to them later.)

I am not sure that is this bug or not. Any way, I would like to use cnee with standard input
but I don't know how shoul I do that ?

#!/bin/bash
testHereDocumentStructure()
{
echo "testHereDocumentStructure() function call"
cat -<<EOF_cat
0,6,71,59,0,0,0,533851943
0,6,66,57,0,0,0,533852527
EOF_cat
}

clickXcutselButtons()
{
echo -e "\nclickXcutselButtons() function call"
cnee_binary -rep -f -<<EOF_xcutsel.xnee
0,6,71,59,0,0,0,533851943
0,6,66,57,0,0,0,533852527
EOF_xcutsel.xnee
}

testHereDocumentStructure
clickXcutselButtons

- - - - - - - - - -

and here is the script output when running it:

testHereDocumentStructure() function call
0,6,71,59,0,0,0,533851943
0,6,66,57,0,0,0,533852527

clickXcutselButtons() function call
Xnee failed to start
   Error number:    2
   Error string:    'Xnee can't find or create the file you are lookig for '
   Solution string: 'Check the path and the permissions'

There is something wrong in my script or something wrong in cnee ?

Veijo Ryhänen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]