guile-devel
[Top][All Lists]
Advanced

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

Re: RFC: major change to argument processing.


From: Rob Browning
Subject: Re: RFC: major change to argument processing.
Date: 01 Jun 2001 11:50:05 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Lars J. Aas" <address@hidden> writes:

> I agree.  I'm just saying people will be confused when they find their
> assumptions to be untrue.  I bet people will even try to use $-variables
> inside double-quoted strings, expecting environment variables to be
> substituted into those positions.

Yeah I worried about that too.  We kinda look like we're advertizing a
functionality that doesn't really exist.

However, the "use read and throw back everything that's not a string"
approach, unless you're going to have a special case for args that
start with dashes means that you'll be choosing a backward
incompatible strategy.  Every script already out there will break
because the option args will have to be quoted too:

  #!/usr/bin/guile \
  "-l" "/foo/bar.scm"
  "-s"
  !#

-- 
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930



reply via email to

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