Re: Java in OS?

Jon Hamilton (hamilton@mixcom.com)
Mon, 06 May 1996 04:54:05 -0500


In message <96May5.081504+0100met_dst.2218-305+54@work.smurf.noris.de>, Matthia
s Urlichs writes:

>NB: Why does trying to exec a script with an interpreter that is itself=
> a
>script cause an error? Specifically, EPERM? I think that should be allo=
>wed.
>(Yes I know, other Unixes frequently don't allow this, but that's no
>excuse.)
>
>/tmp/foo:
>#!/bin/sh
>echo "Did it"
>
>/tmp/bar:
>#!/tmp/foo
># nothing interesting

Works fine for me using 1.3.75 and libc 5.0.9.

>% chmod +x /tmp/foo /tmp/bar

You didn't make sure it was readable; that's the only thing I can think of
offhand.

--
     Jon Hamilton  hamilton@mixcom.com | hamilton@cs.iastate.edu
 There's plenty of youth around, what we need is a fountain of _smart_.
               PGP public key available upon request