Originally Posted by sniffer_raghav
is dere any reason so that for case it is end with esac anf if is end with fi and then why do is end with done .i m unable to find d answer in books .
I hope I got the question right (I know it's hard when you're used to Internet Messenger or Internet Relay Chat type of talk, but please use proper english)
it's just "how things are done": opening
a statement means you have to close
it. Of course you can use variations on 'test' to avoid some.