Girish ,
Instead of talking about if and while in shell, which is present in
every programming language ( Anyone with some programming knowledge
should be able to figure this out in no time), why not talk about
regular expression and sed and awk. which are more intresting than
looping constructs.