rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Bengt Kleberg <bengt@softwell.se>
To: fosterd@hartwick.edu, rc@hawkwind.utcs.toronto.edu
Subject: Re: what if?, suggestion to re-instate the alternative if not syntax...
Date: Fri, 10 Dec 1999 04:00:06 -0500	[thread overview]
Message-ID: <199912100900.KAA13919@trillian.softwell.se> (raw)

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

             reply	other threads:[~1999-12-10 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-10  9:00 Bengt Kleberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-10  9:06 Bengt Kleberg
1999-12-09  8:13 Byron Rakitzis
1999-12-08 15:13 Bengt Kleberg
1999-12-09  8:00 ` Decklin Foster
1999-12-09  8:22   ` Markus Friedl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199912100900.KAA13919@trillian.softwell.se \
    --to=bengt@softwell.se \
    --cc=fosterd@hartwick.edu \
    --cc=rc@hawkwind.utcs.toronto.edu \
    --subject='Re: what if?, suggestion to re-instate the alternative if not syntax...' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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