Shell scripts nos permitem programar comandos e executá-los como um evento de script, assim
como arquivos de lote. Considere o script a seguir, onde os números representam o número da linha.
1 #/bin/csh
2 @ argcount = $#argv
3 @ count=1
4 while ( $count <= $argcount )
5 echo $argv[$count]
6 set equalfound = `echo $argv[$count] | awk '/\=/ {print "yes"}'`
7 if ($equalfound == "yes") then
8 set $argv[$count]
9 echo " doing set.."
10 endif
11 if ($argv[$count] == "compile") set compile=yes
12 if ($argv[$count] == "reg" )set global=no
13 if ($argv[$count] == "clean")set clean=yes
14 if ($argv[$count] == "avn") set source=avn
15 @ count++
16 end
17 ...
Assinale a alternativa INCORRETA: