Subject: Re: rc.subr problem with interpreted daemons
To: Ed Ravin <>
From: Andrew Brown <>
List: tech-userlevel
Date: 03/20/2002 16:53:51
>> The rc.d script writer just needs to set command_interpreted=foo.
>I like this solution, but there's one potential bugaboo:
>   $ head -3 make_class
>   #! /usr/local/bin/scsh \
>   -e main -s
>   !#
>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?

i don't have scsh around to test, but that looks like magic that scsh
parses.  the kernel (afaict) doesn't parse the \ as a "continued
line".  it just sees it as an argument.

	% cat > sahya << EOF
	#!/bin/echo \
	% chmod +x sahya
	% ./sahya
	\ ./sayha

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."