From: "A.S. Kukhar" <plan9@kp.km.ua>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Rc shell FAQ
Date: Tue, 4 Mar 2003 22:42:02 -0500 [thread overview]
Message-ID: <03030421081400.00581@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.44.0303031222250.28942-100000@fbsd.cpsc.ucalgary.ca>
i just tried to rewrite existed faq (about Byron Rakitzis's
rc) to fit only Plan 9 shell, so a few differences between
this shells i missed (including returns). on days i will
fix (or remove) the examples with returns and a few other
bugs that were found by rog.
thank you guys (andrey and rog) for your responses.
p.s. now i don`t have working plan 9 system so checking all
the examples is a problem task
-kyxap
> 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
next prev parent reply other threads:[~2003-03-05 3:42 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.
2003-03-04 18:02 ` andrey mirtchovski
2003-03-05 3:42 ` A.S. Kukhar [this message]
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=03030421081400.00581@localhost.localdomain \
--to=plan9@kp.km.ua \
--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).