#!/bin/csh # (run the following in C-shell) clear printf "\n" echo Environment variables: set printf "\n" if ( "$1" == "" ) then echo No command-line arguments else echo Command-line arguments $* echo First argument $1 endif