From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fw.softwell.se ([193.15.236.45]) by hawkwind.utcs.utoronto.ca with SMTP id <24767>; Fri, 10 Dec 1999 05:06:54 -0500 Received: from trillian.softwell.se (IDENT:bengt@trillian.softwell.se [192.42.172.11]) by fw.softwell.se (8.9.3/8.9.3) with ESMTP id KAA12887; Fri, 10 Dec 1999 10:00:06 +0100 Received: (from bengt@localhost) by trillian.softwell.se (8.8.7/8.8.7) id KAA13919; Fri, 10 Dec 1999 10:00:06 +0100 Date: Fri, 10 Dec 1999 04:00:06 -0500 From: Bengt Kleberg Message-Id: <199912100900.KAA13919@trillian.softwell.se> To: fosterd@hartwick.edu, rc@hawkwind.utcs.toronto.edu Subject: Re: what if?, suggestion to re-instate the alternative if not syntax... > > if not, ie the weird way of writing } else { that was around in rc in the very beginning > I'm curious, what is this syntax? 1 man page bug alert. the paper describing rc for plan9 is mentioned as included in the unix rc distro. it is not. (or I can not find it) 2 the paper can be found at http://plan9.bell-labs.com/plan9/doc/rc.html 3 the old syntax was if (test -f afile) { echo file exists } if not { echo file does not exist }