guile-devel
[Top][All Lists]
Advanced

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

Proposal: allow "guile foo.scm"


From: Andy Wingo
Subject: Proposal: allow "guile foo.scm"
Date: Thu, 11 Nov 2004 20:26:26 +0200

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.

Thoughts?
-- 
Andy Wingo <address@hidden>
http://ambient.2y.net/wingo/




reply via email to

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