1 --- beanshell-2.0b4/scripts/bsh Fri Oct 19 14:54:14 2007
2 +++ beanshell-2.0b4/scripts/bsh.new Tue May 10 17:13:29 2011
10 + BeanShell, a small and embeddable Java source interpreter
12 + beansh | beanshell [ -g ] [Beanshell Script....]
13 + -g : beanshell graphics mode
14 + -h or --help : this manual
19 +if [ "$1" = "-h" -o "$1" = "--help" ]; then
24 # The (hard coded) location of a default bsh jar.
26 #DEFAULTBSH=`cygpath --windows $HOME/pkg/bsh-1.3a1.jar`
28 -DEFAULTBSH=/home/pat/bin/bsh-1.3a1.jar
29 +DEFAULTBSH=/usr/share/lib/java/bsh-2.0b6.jar
32 if [ $name = "bshd" ]; then
37 - java $debug -classpath $path bsh.Interpreter $*
38 + if [ "$1" = "-g" ]; then
39 + java $debug -classpath $path bsh.Console
41 + java $debug -classpath $path bsh.Interpreter $*