guile-devel
[Top][All Lists]
Advanced

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

Re: Proposal: allow "guile foo.scm"


From: Greg Troxel
Subject: Re: Proposal: allow "guile foo.scm"
Date: 12 Nov 2004 09:08:39 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

  What do you think of allowing guile to be run as "guile foo.scm"?

I think it makes sense; /bin/sh acts like this.   Reading 'guile
--help', this could currently only start up a guile with foo.scm in
(command-line), but it doesn't.

But, I think your example fails to pass arguments to the guile
process.  Do you mean to include $0 address@hidden  Why can't you do

#! /usr/bin/env guile -s $0 "$@"
!#

-- 
        Greg Troxel <address@hidden>




reply via email to

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