Subject: Re: Java exec recognition
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: current-users
Date: 11/03/1997 11:02:03
> You could probably rip a bunch of the magic interpretation stuff out of
> file(1), making a libmagic, or something, and write a program (call it
> interp(1) :-) that could add and remove interpreters.. perhaps something
> like:
>
> interp foo.java /path/to/java/interpreter
>
> ...finds the magic, and adds the interpreter with the addinterp(2) system
> call.
It should probably be a sysctl, based on exec type. "oh, for a better
sysctl()."
Of all the things you might want to add a system call for, this
shouldn't be one of them. 8-)
cgd