rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* A mismatch between Byron's rc and Plan 9 rc:
@ 1996-02-06  1:28 Chris Siebenmann
  0 siblings, 0 replies; only message in thread
From: Chris Siebenmann @ 1996-02-06  1:28 UTC (permalink / raw)
  To: rc

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-06  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-06  1:28 A mismatch between Byron's rc and Plan 9 rc: Chris Siebenmann

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).