Rc is a programming language created in 1989 by Tom Duff.
#984on PLDB | 35Years Old |
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"). Read more on Wikipedia...
echo Hello, world!
a |[2] b # pipe only standard error of a to b — in Bourne shell as a 3>&2 2>&1 >&3 | b
a <>b # opens b as a's standard input and standard output
a <{b} <{c} # becomes a {standard output of b} {standard output of c}
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | # A comment | |
Line Comments | ✓ | # A comment | # |
Semantic Indentation | X |