Category:C Shell: Difference between revisions

no edit summary
(Fill 'Syntax' and 'Reputation' sections.)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1:
{{language
|exec=interpreted
|tags=csh}}{{implementation|UNIX Shell}}
|hopl id=1936
}}{{implementation|UNIX Shell}}
'''csh''' was the shell that William Joy wrote for [[BSD]]. '''csh''' accepted the same [[Unix]] commands as other shells, but had a very different syntax (for variable assignments, control flow, and such). '''csh''' is not compatible with the [[Bourne Shell]].
 
Line 9 ⟶ 11:
 
== Reputation ==
C Shell is obsolete. Most scriptwriters prefer a Bourne-compatible shell, and few users want to learn two flavors of shells. C Shell introduced tilde expansion (<code>ls ~</code>), historyjob recallcontrol, jobcommand controlhistory, and aliases, but POSIX shells now have all of those.
 
[http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ Csh Programming Considered Harmful] and [http://www.grymoire.com/Unix/CshTop10.txt Top Ten Reasons not to use the C shell] give multiple reasons to avoid C Shell.
 
tcsh is a later version that fixed many of the problems with csh. It is still actively, if intermittently, maintained and has a following such as on Solaris.
 
== Syntax ==