Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Rc

< >

Rc is a programming language created in 1989 by Tom Duff.

#984on PLDB 35Years Old
REPL · Wikipedia

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...


Example from Riju:
echo Hello, world!
Example from Wikipedia:
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}

Language features

Feature Supported Example Token
Comments ✓ # A comment
Line Comments ✓ # A comment #
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0