To check whether you have closed all your brackets
when writing scripts vim has the answer, simply move
over to the opening or closing bracket and hit %
It will show you the opening or closing bracket.
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.