9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Byron Rakitzis <byron@rakitzis.com>
To: 9fans@cse.psu.edu, boyd@fr.inter.net
Subject: Re: [9fans] unix RC shell bug
Date: Sun,  2 Sep 2001 21:18:49 -0700	[thread overview]
Message-ID: <200109030418.f834Ina09836@rakitzis.com> (raw)

>iirc $" was not implemented in the unix rc.
>
>back in '91 (when byron released it) $" did not exist.
>i'm not sure when it was added to the plan 9 rc.
>sometime after '93 i'd guess.

I came up with $^ in rc early on. I don't have any records to show when
this first appeared, but I found an old version of rc on funet.fi, rc-1.2,
which showed this feature in 1991. Given that the work on the shell
started in the fall of 1990 this was really very early on in its life.

With some modesty I suggest that maybe this was back-ported into plan 9
from my reimplementation with a new syntax. Or maybe they came up with
the idea independently. The need for it is fairly obvious.

I chose $^ by analogy with the ^ concatenation operator, and because it
leaves the " character still uninterpreted by rc.

In general there are some incompatabilities between my rc and plan9's,
in particular with regards to the "if not" syntax. This has caused
some friction over the years, but never enough in my opinion to warrant
changing the code I wrote.

Byron.


             reply	other threads:[~2001-09-03  4:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-03  4:18 Byron Rakitzis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-01  4:54 David Gordon Hogan
2001-09-01 11:19 ` Boyd Roberts
2001-09-01  4:43 David Gordon Hogan
2001-08-31 19:35 [9fans] Anybody runs kaffe? Richard Miller
2001-09-01  4:11 ` [9fans] unix RC shell bug Matt

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=200109030418.f834Ina09836@rakitzis.com \
    --to=byron@rakitzis.com \
    --cc=9fans@cse.psu.edu \
    --cc=boyd@fr.inter.net \
    /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).