rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Chris Siebenmann <cks>
To: rc
Subject: A mismatch between Byron's rc and Plan 9 rc:
Date: Mon, 5 Feb 1996 20:28:33 -0500	[thread overview]
Message-ID: <96Feb5.202849est.23984@hawkwind.utcs.utoronto.ca> (raw)

From:	td@plan9.att.com
To:	9fans@cse.psu.edu
Date:	Mon, 5 Feb 1996 13:11:58 -0500
Subject: re: rc syntax bug

Stephen Hemminger <postman.ncube.com!sch> thinks there's a bug:
>Isn't it surprising:
>	if (! ~ () ()) echo 'i am a bug'

I'm sorry, what do you think the bug is?
The syntax is obviously ok, and the result is exactly what
I intended.  A match against an empty list always fails, the
definition being that at least one alternative must
succeed for the match to succeed.


                 reply	other threads:[~1996-02-06  1:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=96Feb5.202849est.23984@hawkwind.utcs.utoronto.ca \
    --to=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).