From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: Proposal: allow "guile foo.scm" Date: 12 Nov 2004 09:08:39 -0500 Message-ID: References: <1100197586.19830.125.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100268544 12646 80.91.229.6 (12 Nov 2004 14:09:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2004 14:09:04 +0000 (UTC) Cc: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 12 15:08:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSc6i-0003V0-00 for ; Fri, 12 Nov 2004 15:08:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CScFG-0000rd-Ae for guile-devel@m.gmane.org; Fri, 12 Nov 2004 09:17:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CScFD-0000rO-EK for guile-devel@gnu.org; Fri, 12 Nov 2004 09:17:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CScFC-0000rC-Vt for guile-devel@gnu.org; Fri, 12 Nov 2004 09:17:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CScFC-0000r9-Pi for guile-devel@gnu.org; Fri, 12 Nov 2004 09:17:42 -0500 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CSc6T-0005Wy-N1 for guile-devel@gnu.org; Fri, 12 Nov 2004 09:08:41 -0500 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 2FEEC2190; Fri, 12 Nov 2004 09:08:39 -0500 (EST) Original-To: Andy Wingo In-Reply-To: <1100197586.19830.125.camel@localhost> Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4375 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4375 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 $@? Why can't you do #! /usr/bin/env guile -s $0 "$@" !# -- Greg Troxel _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel