Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing rc (shell) vs Eshell (Emacs SHell), the Slant community recommends Eshell (Emacs SHell) for most people. In the question“What are the best UNIX shells?” Eshell (Emacs SHell) is ranked 4th while rc (shell) is ranked 6th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Simple
rc is a very simple and easy to learn shell.
Pro C-like syntax
rc has very C-like syntax, which is very helpful for people who are used to C-like programming languages and will find rc's syntax very enjoyable. For example:
for (i in `{seq 1 100}) {
echo $i
}
Pro Sane array handling
In rc $array
expands to the whole array and if one of the elements of the array has spaces in it, it's still considered one single element after the array variable expansion.
Pro Can invoke almost any elisp function loaded in Emacs
Pro Written in emacs lisp
Cons
Con Lacks return statement
rc has no return
statement.