Met Office interview question

A sample bash shell script with errors

Interview Answer

Anonymous

9 Feb 2011

1. No esac to end a case statement 2. No fi to end an if clause 3. Failure to set a global variable, which when the script was run would have erased the disk