From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] Rc shell FAQ In-Reply-To: <03030118450300.00582@localhost.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon, 3 Mar 2003 12:25:55 -0700 Topicbox-Message-UUID: 7727cd7e-eacb-11e9-9e20-41e7f4b1d025 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 >