On Mon, Oct 04, 2004 at 09:39:43PM +0200, Adeodato Sim? wrote: > hi, could you tell what is the expected behavior? the following works > here for both sid and sarge: > > $ echo 'a=1; print(a); print("\n");' | kjscmd - 2>/dev/null > > that is, it prints "1".
I was expecting to see KJSEmbed console dialog. I wanted to follow the tutorial at http://xmelegance.org/kjsembed/tutorial/kjsembed.html and it states: The quickest way to see what KJSEmbed can do is with kjscmd, a tool for running scripts from the command line. To begin, we'll run kjscmd without any parameters which brings up the KJSEmbed console dialog. So I ran kjscmd without any parameters... Now I am doing RTFM (should have done that before) and I see "man kjscmd" shows --console and --exec option. This worked as expected: $ kjscmd --console --exec I am so sorry! I think you can close this bug. By the way, is tutorial outdated and "kjscmd" is no more equivalent to "kjscmd --console --exec"? Then I should mail the tutorial author... Seo Sanghyeon