>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