scheme shell
about
download
support
resources
docu
links
 
scsh.net
From: david@vanhorn.com (David Van Horn)
Newsgroups: comp.lang.scheme.scsh
Subject: Re: trouble with scripts
Date: 25 Feb 2002 17:22:21 -0800
Organization: http://groups.google.com/
Message-ID: <f3f332ed.0202251722.27484740@posting.google.com>

This is the solution I came across, thanks to Ian Wild's post on 
comp.unix.shell

Ian Wild <ian@cfmu.eurocontrol.be> wrote in message news:<3C7A1ADF.CCECB8EA@cfmu.eurocontrol.be>...
> IIRC scsh treats '#!' as the start of a multi-line comment.  If
> this is indeed the case, try some variant of:
> 
>   #! /bin/sh
>   exec /far/too/long/a/path/to/scsh -f $0
>   !#
>   (define (mumble) ...
> 
> I use something like this with CLISP, to good effect.

This works and I can get the command line arguments passed to the scsh script.

Much Appreciated!
David Van Horn

Up