From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: guile -s is it necessary? Date: 16 Oct 2002 20:27:59 +0100 Sender: guile-user-admin@gnu.org Message-ID: References: <20021015122146.GA418@www> <87wuojz8i6.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034966490 1544 80.91.224.249 (18 Oct 2002 18:41:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 18:41:30 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182c3o-0000My-00 for ; Fri, 18 Oct 2002 20:41:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182c3h-0006sD-00; Fri, 18 Oct 2002 14:41:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182c3H-0006oQ-00 for guile-user@gnu.org; Fri, 18 Oct 2002 14:40:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182c3F-0006oB-00 for guile-user@gnu.org; Fri, 18 Oct 2002 14:40:50 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182c2P-00043i-01 for guile-user@gnu.org; Fri, 18 Oct 2002 14:39:57 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by gnudist.gnu.org with esmtp (Exim 4.10) id 181tyH-0006q8-00 for guile-user@gnu.org; Wed, 16 Oct 2002 15:36:45 -0400 Original-Received: from laruns.ossau.uklinux.net (bts-0464.dialup.zetnet.co.uk [194.247.49.208]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g9GJYCG06841 for ; Wed, 16 Oct 2002 20:34:13 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1]) by laruns.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 3E926DC129 for ; Wed, 16 Oct 2002 20:27:59 +0100 (BST) Original-To: guile-user@gnu.org In-Reply-To: Original-Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1203 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1203 >>>>> "Paul" == Paul Jarc writes: Paul> Rob Browning wrote: >> What about things like: >> >> guile -s foo.scm arg-to-foo another-arg-to-foo >> >> or >> >> guile -e main -s foo.scm arg-to-foo another-arg-to-foo Paul> guile foo.scm arg-to-foo another-arg-to-foo Paul> guile -e main foo.scm arg-to-foo another-arg-to-foo Indeed. Guile's current behaviour is to stop parsing args itself when it sees `-s sthg', so that the remaining args are left for the script. We could easily make it do the same when it sees `sthg' where sthg is not a known option. Paul> Such command lines are erroneous now, [...] Why do you say they are erroneous? They look fine to me. Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user