Content deleted Content added
Artoria2e5 (talk | contribs) |
Artoria2e5 (talk | contribs) No edit summary |
||
Line 28:
A port of the original rc to Unix is part of [[Plan 9 from User Space]]. A rewrite of rc for [[Unix-like]] operating systems by Byron Rakitzis is also available but includes some incompatible changes.
Rc uses C-like control structures instead of the original Bourne shell's [[ALGOL]]-like structures, except that it uses an <code>if not</code> construct instead of <code>else</code>, and has a Bourne-like <code>for</code> loop to iterate over lists. In rc, all variables are lists of strings, which eliminates the need for constructs like "<code>[[$@]]</code>". Native support for a list datatype is introduced and variables are not re-split when expanded. The
==Influences== <!--Anchor from redirected [[Es (Unix shell)]] article; caution with changes. -->
|