Package: rhino Version: 1.7R2-4 Severity: normal rhino -e works as expected if there's no whitespace in the oneliner:
$ rhino -e 'print(1+1)' 2 With whitespace one gets an error: $ rhino -e 'print (1+1)' js: Couldn't read source file "(1+1): (1+1) (No such file or directory)". I assume that the shell wrapper is somehow wrong, cause calling the underlying java command seems to work: $ /usr/bin/java -classpath /usr/share/java/js.jar:/usr/share/java/jline.jar org.mozilla.javascript.tools.shell.Main -e 'print (1+1)' 2 Regards, Slaven -- System Information: Debian Release: 6.0.4 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages rhino depends on: ii gij-4.3 [java5-ru 4.3.2-2 The GNU Java bytecode interpreter ii java-gcj-compat-h 1.0.78-2 Java runtime environment using GIJ ii libjline-java 0.9.94-5 Java library for handling console ii openjdk-6-jre-hea 6b18-1.8.10-0+squeeze2 OpenJDK Java runtime, using Hotspo ii sun-java5-jre [ja 1.5.0-22-0lenny1 Sun Java(TM) Runtime Environment ( ii sun-java6-jre [ja 6.26-0squeeze1 Sun Java(TM) Runtime Environment ( rhino recommends no packages. Versions of packages rhino suggests: pn rhino-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org