Bug#274484: bsh shebang line: it works
Niels Thykier
niels at thykier.net
Sat Jul 25 22:35:15 UTC 2009
-----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);
>>
>> Which works directly in bsh, but not from a #!/usr/bin/bsh shell.
>>
>> My kernel version is: 2.6.26-2-686
>
> I just tried your example with the version of bsh from lenny aka stable
> and sid aka unstable and I can't reproduce the bug. It just works.
>
> That's really a strange bug.
>
>
> Cheers,
> Michael
>
Yeah, I am running out of ideas here as well.
I have gotten reportbug to gather the standard information related to
bsh on my system, hopefully it can help in narrowing down the issue.
For the record, while my /bin/sh is linked to /bin/dash instead of
/bin/bash, I did try to relink to /bin/bash without any success - as
well as using /bin/bash as interpreter for the shell script
/usr/bin/bsh. (NB: I reverted my changes to /usr/bin/bsh between tests
by reinstalling/purge+installing it)
~Niels
- -- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bsh depends on:
ii default-jre [java2-runtime] 1.5-32 Standard Java or Java
compatible R
ii gcj-jre [java2-runtime] 4:4.3.3-9 Java runtime environment
using GIJ
ii java-gcj-compat [java2-runtim 1.0.80-5.1 Java runtime environment
using GIJ
ii libjline-java 0.9.94-1 Java library for handling
console
ii openjdk-6-jre [java2-runtime] 6b16-4 OpenJDK Java runtime, using
Hotspo
ii sun-java5-jre [java2-runtime] 1.5.0-19-1 Sun Java(TM) Runtime
Environment (
ii sun-java6-jre [java2-runtime] 6-14-1 Sun Java(TM) Runtime
Environment (
Versions of packages bsh recommends:
ii bsh-gcj 2.0b4-8 Java scripting environment
(BeanSh
ii libgcj8-1-awt 4.2.4-4 AWT peer runtime libraries
for use
Versions of packages bsh suggests:
pn bsh-doc <none> (no description available)
pn libservlet2.3-java <none> (no description available)
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpriKAACgkQVCqoiq1Ylqya9gCfRA4u1nYD4KsAsiMZzNJJ/MVA
a5cAoIbXvao2DKsGkAm1VdC5n0qHRGyf
=McLs
-----END PGP SIGNATURE-----
More information about the pkg-java-maintainers
mailing list