411 REFERENCE · Wikibooks
C Shell Scripting/syntax
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Comparison with Bourne shell
Features
List Variables
C Shell has it Bourne doesn't.
Shell Functions
Bourne has it C Shell doesn't
Syntax differences
comments
# csh
: sh
assigning variables
set a = b
a = b
expressions
if ( a < b ) then
if [ a -lt b ]
Bourne has more advanced command substitution syntax for embedding. (Bourne Shell Scripting/Substitution)
$( date )
vs
`date`