From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 5 Feb 1996 13:11:58 -0500 From: td@plan9.att.com td@plan9.att.com Subject: rc syntax bug Topicbox-Message-UUID: 3b082b66-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19960205181158.VxcNfjfXThL-JxPsKqEGKbyhhUcux8KtziZDz-zufPs@z> 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.