c-shell_script.csh 258 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 # Some Comments about this file echo "Hello, World!" # Look for the file specified as arg 1 and # say if we find it or not set f = $1 foreach d (*) if (-e $d/$f) then echo FOUND: $d/$f exit(0) endif end echo $f not found in subdirectories