9fans archive / 1996 / 02 / 3 / prev next From: td@pla... td@pla... Subject: rc syntax bug Date: Mon, 5 Feb 1996 13:11:58 -0500 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.