rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: byron@netapp.com (Byron Rakitzis)
To: quanstro@epsilon.eecs.nwu.edu, rc@hawkwind.utcs.toronto.edu
Subject: Re:  bug in rc?
Date: Fri, 16 Apr 1993 18:43:45 -0400	[thread overview]
Message-ID: <9304162243.AA26231@netapp.netapp.com> (raw)

"if" in the first position denotes the if keyword. In any other
position it is passed on as an argument.

this is true in sh as well:

$ echo fi
fi
$ fi echo
syntax error: `fi' unexpected
$ 

although the rules for sh parsing are probably harder to deduce..



             reply	other threads:[~1993-04-16 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-16 22:43 Byron Rakitzis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-16 22:45 Paul Haahr
1993-04-16 22:27 Erik Quanstrom

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=9304162243.AA26231@netapp.netapp.com \
    --to=byron@netapp.com \
    --cc=quanstro@epsilon.eecs.nwu.edu \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).