scsh-users
[Top] [All Lists]

Re: trouble with scripts

To: scsh-news@zurich.ai.mit.edu
Subject: Re: trouble with scripts
From: david@vanhorn.com (David Van Horn)
Date: 25 Feb 2002 17:22:21 -0800
Organization: http://groups.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

<Prev in Thread] Current Thread [Next in Thread>