[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNIX



On Mon, 20 Feb 1995, Thomas Schulze wrote:

> Hi,
> 
> you wrote:
> 
> > 
> > Maybe we could set some variable in mint.cnf, like
> > 
> > SHELL=u:\bin\sh
> > 
> > or similar which is to be started when the kernel is requested to start 
> > such a file?
> > 
> 
> No, this wouldn't solve our problem. It would be ok for every #!/bin/sh
> script, but what about #!/usr/bin/perl oder #!/bin/awk??

What about something much simpler? Like:

SHELLEXEC=on

If it is set on then Hash-Bang should be looked for, in the same way as
the magic number is checked for executable format. It _does_ complicate
our search-and-lookup rules for executing. 


--
---------------------------------------------------------------------------
|   /----\   |GAT -d++()(--)>!d H s++: g+ p1+ !au a-? w+++(--)
|  /  //  \  |v---(-)*(++) c+++@>$ U?++++$>B++++$>S++++$ P+(-) L- 3-
| |  //  //| |E--- N++(+++) K W---() M(+) V--@ -po+(--@)(++@) Y+ t(+++@)
| | //  // | |!5 !j R+++()>$ G+ tv(-) b+++ !D B(-) e u++(*)
|  \/  // /  |h++(-)(---)>*$ f+(?) r--@(+++@) n----(--) y+++(++@)>*>**
|   \----/   |-------------------------------------------------------------
|            |   dancer@ozspace.brisnet.org.au
---------------------------------------------------------------------------