about Grigoris Maravelias
While loop in C-shell scripts

While loop in C-shell scripts

When using the while loop in C-shell scripting the usual stucture is:

while (expression)
commands

end

BUT, you need to add an empty line or a comment after end in order for the loop to work!

Leave a Reply

Your email address will not be published. Required fields are marked *