From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.utoronto.ca with SMTP id <23984>; Mon, 5 Feb 1996 20:28:49 -0500 To: rc Subject: A mismatch between Byron's rc and Plan 9 rc: Date: Mon, 5 Feb 1996 20:28:33 -0500 From: Chris Siebenmann Message-Id: <96Feb5.202849est.23984@hawkwind.utcs.utoronto.ca> 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 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.