C Shell Scripting/syntax

Features

 * List Variables


 * C Shell has it Bourne doesn't.


 * Shell Functions


 * Bourne has it C Shell doesn't

Syntax differences

 * comments
 * 1) csh

set a = b a = b
 * assigning variables

if ( a < b ) then if [ a -lt b ]
 * expressions

Bourne has more advanced command substitution syntax for embedding. (Bourne Shell Scripting/Substitution)

$( date )

vs

`date`