9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Rc shell FAQ
Date: Mon,  3 Mar 2003 12:25:55 -0700	[thread overview]
Message-ID: <Pine.LNX.4.44.0303031222250.28942-100000@fbsd.cpsc.ucalgary.ca> (raw)
In-Reply-To: <03030118450300.00582@localhost.localdomain>

Is this UNIX-only? I tried to find whether it mentioned anything about
regarding specifically the unix implementation of the Rc shell but
couldn't...

In Plan 9 the builtin 'return' does not exist (as it it mentioned in the
rc paper in /sys/doc) so the following examples from the FAQ would not 
work:

    fn true { return 0 }
    fn false { return 1 }

Pretty much every other example there uses 'return' at least once and
wouldn't work on Plan 9... Unless I'm missing somerhing?

andrey

On Sat, 1 Mar 2003, A.S. Kukhar wrote:

> you can get it from http://ask.km.ru/plan9/doc/rcfaq.html, 
> the document attempts to answer some frequently asked 
> questions about rc, the Plan 9 shell. FAQ based on ``rc 
> shell Frequently Asked Questions'' from Alan Watson (15 Dec 
> 1994).
> 
> Please forward any comments, corrections, and suggestions 
> regarding this FAQ to plan9@kp.km.ua.
> 
> -kyxap
> 



  reply	other threads:[~2003-03-03 19:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-01 23:46 A.S. Kukhar
2003-03-03 19:25 ` andrey mirtchovski [this message]
2003-03-04 17:52   ` rob pike, esq.
2003-03-04 18:02     ` andrey mirtchovski
2003-03-05  3:42   ` A.S. Kukhar
2003-03-04 18:06 rog

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=Pine.LNX.4.44.0303031222250.28942-100000@fbsd.cpsc.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.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).