From: Gert-Jan Vons <vons@ocegr.fr>
To: rc@hawkwind.utcs.toronto.edu
Subject: Re: tilde featuritis alert
Date: Fri, 10 Dec 1999 04:32:05 -0500 [thread overview]
Message-ID: <4.2.2.19991210102710.00ad3380@mailhost.ocegr.fr> (raw)
In-Reply-To: <199912100745.XAA29345@peanut.rakitzis.com>
Byron Rakitzis wrote:
>For better or for worse, rc's grammar allows for multiple temporary
>assignments:
>
> ; foo=1 bar=2 echo $foo $bar
> 1 2
> ; echo $foo $bar
>
>So you have to account for that as well.
>
>With sufficient tweaking to the parser and lexer perhaps you could allow
>unquoted '='s in a parameter list, but I tried my hand at it years ago
>and I wasn't able to come up with anything remotely pleasant.
On the other hand:
; echo foo=1 bar=2
syntax error
so it does detect that the assignment is not valid in this case. If it
just could take the equals-sign as is...
Gert-Jan
-----
"A little government and a little luck are necessary in life,
but only a fool trusts either of them."
- P.J. O'Rourke
next prev parent reply other threads:[~1999-12-10 10:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-10 7:45 Byron Rakitzis
1999-12-10 9:32 ` Gert-Jan Vons [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-12-09 7:52 Decklin Foster
1999-12-09 8:26 ` Markus Friedl
1999-12-09 8:52 ` Gert-Jan Vons
1999-12-09 14:20 ` Decklin Foster
1999-12-09 16:48 ` Paul Haahr
1999-12-09 16:27 ` Mark K. Gardner
1999-12-09 22:08 ` kim kubik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.2.2.19991210102710.00ad3380@mailhost.ocegr.fr \
--to=vons@ocegr.fr \
--cc=rc@hawkwind.utcs.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).