Messages in this thread | | | Date | Sun, 21 Mar 1999 20:18:03 +0100 | From | Pavel Machek <> | Subject | Re: #!perl - alternative path to script interpreters - patch to 2.2 |
| |
Hi!
> > > But script written under different OS will work under linux without > > > change. > > It won't unless you have root privileges to tweak the translation > > table used by your patch. > > Yes. :-( > .. and not: translation table is ordinary directory. (but probably > only root should have write access to it). > > Note that this patch is not very usefull but it is also very thin > in terms of memory usage (and doesn't affect speed).
You want people to write #!perl
instead of
#!/path/perl
. Ok. Make them write
#!/etc/shells/perl
instead, and make sure /etc/shells contains right symlinks. No kernel modification needed.
Or just make sure everybody has perl installed in /usr/bin or at least has /usr/bin/perl -> /real/location/of/perl. [Right way, IMO]
Pavel -- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |