Rc

rc (for "run commands") is the command line interpreter for Version 10 Unix and Plan 9 from Bell Labs operating systems. It resembles the Bourne shell, but its syntax is somewhat simpler. It was created by Tom Duff, who is better known for an unusual C programming language construct ("Duff's device").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 if not construct instead of else, and has a Bourne-like for loop to iterate over lists. In rc, all variables are lists of strings, which eliminates the need for constructs like "$@". Variables are not re-split when expanded. The language is described in Duff's paper.

View More On Wikipedia.org
  • 636

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,443
    • Media
      227
    • Reaction score
      10,022
    • Points
      1,237
  • 1

    Metals

    A PF Electron
    • Messages
      48
    • Reaction score
      2
    • Points
      11
  • 1

    timnswede

    A PF Electron
    • Messages
      101
    • Reaction score
      0
    • Points
      16
  • 1

    RyanP

    A PF Quark
    • Messages
      17
    • Reaction score
      0
    • Points
      1
  • 1

    trailogy

    A PF Quark
    • Messages
      4
    • Reaction score
      0
    • Points
      4
  • 1

    eyespy

    A PF Quark
    • Messages
      9
    • Reaction score
      1
    • Points
      3
  • 1

    Noob of the Maths

    A PF Electron
    • Messages
      52
    • Reaction score
      6
    • Points
      13
  • 1

    Juanda

    A PF Atom From Spain
    • Messages
      292
    • Reaction score
      100
    • Points
      31
  • Back
    Top