-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Koch wrote:
On Fri, Jul 24, 2009 at 09:43:07AM +0200, Niels Thykier wrote:
Hi
I just tested this with bsh (version 2.0b4) and it does not seem to work
for me. Neither the previous example nor
String a = Hello
System.out.println(a);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
I just tested this with bsh (version 2.0b4) and it does not seem to work
for me. Neither the previous example nor
String a = Hello
System.out.println(a);
Which works directly in bsh, but not from a #!/usr/bin/bsh shell.
My kernel version is:
Hi Niels,
This works for me:
#!/usr/bin/bsh
String a = Hello;
System.out.println(a);
Maybe you were missing the semi colon after Hello. You need also to
make your hello.bsh file executable
My test script:
cat hello.bsh EOF
#!/usr/bin/bsh
String a = Hello;
System.out.println(a);
EOF
chmod u+x
Forgot to CC bugs.
Ludovic Claude wrote:
Hi Niels,
This works for me:
#!/usr/bin/bsh
String a = Hello;
System.out.println(a);
Maybe you were missing the semi colon after Hello. You need also to
make your hello.bsh file executable
My test script:
cat hello.bsh EOF
#!/usr/bin/bsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ludovic Claude wrote:
Maybe you've got something else called bsh in your path.
Can you send me the result for those commands:
echo $PATH
bsh --version
/usr/bin/bsh --version
which bsh says that bsh is /usr/bin/bsh
type -a bsh says I have
Sorry Niels, I don't have any more ideas.
Looking at the bug history - and the error messages, it looks like bash
is trying to run the script instead of bsh.
I'm running Ubuntu 9.04, and all works well. There may be something in
the configuration of bash in Debian that's not letting it run the
On Fri, Jul 24, 2009 at 09:43:07AM +0200, Niels Thykier wrote:
Hi
I just tested this with bsh (version 2.0b4) and it does not seem to work
for me. Neither the previous example nor
String a = Hello
System.out.println(a);
Which works directly in bsh, but not from a #!/usr/bin/bsh
7 matches
Mail list logo