Subject: Re: rc.subr problem with interpreted daemons
To: Ed Ravin <eravin@panix.com>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 03/20/2002 15:57:27
[ On Wednesday, March 20, 2002 at 12:32:00 (-0500), Ed Ravin wrote: ]
> Subject: Re: rc.subr problem with interpreted daemons
>
> I like this solution, but there's one potential bugaboo:
>
> $ head -3 make_class
> #! /usr/local/bin/scsh \
> -e main -s
> !#
How does that work?
> The above fragment is the start of an scsh script I ran into
> the other day. Do you want to parse these multi-line magic lines?
The kernel doesn't parse them..... (at least not as far as I can tell,
and it's not a documented feature....)
Is that some strange 'scsh' specific hack to avoid the MAXINTERP limit?
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>