From: "rob pike, esq." <rob@mightycheese.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Rc shell FAQ
Date: Tue, 4 Mar 2003 09:52:48 -0800 [thread overview]
Message-ID: <639d576798468c6711b622b253ae6108@mightycheese.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0303031222250.28942-100000@fbsd.cpsc.ucalgary.ca>
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
I don't think you're missing anything. It's rc that's missing something.
I don't know why, but it doesn't have a return statement and it should.
-rob
[-- Attachment #2: Type: message/rfc822, Size: 2929 bytes --]
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 (MST)
Message-ID: <Pine.LNX.4.44.0303031222250.28942-100000@fbsd.cpsc.ucalgary.ca>
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
>
next prev parent reply other threads:[~2003-03-04 17:52 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
2003-03-04 17:52 ` rob pike, esq. [this message]
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=639d576798468c6711b622b253ae6108@mightycheese.com \
--to=rob@mightycheese.com \
--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).