[Top][All Lists]

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

Re: Proposal: allow "guile foo.scm"

From: Neil Jerram
Subject: Re: Proposal: allow "guile foo.scm"
Date: Fri, 12 Nov 2004 21:43:44 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Andy Wingo wrote:

Hey all,

What do you think of allowing guile to be run as "guile foo.scm"? The
proposal is for it to be the same as "guile -s foo.scm". This would
allow the #! sequence to be shorter, e.g.

#! /usr/bin/env guile

instead of

#! /bin/sh
exec guile -s $0 "$@"

assuming you want to find `guile' in the path, of course.

This in already in CVS HEAD (since August 2003), so will be in 1.8 one day.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]