could somebody tell me why the case loop does not take $i as argument .(But for ,while and until takes $i)
Also case $1 or case $2 works if given specifically)
I tested this.Whatever argument gives me 3 as the answer.
case $i in [ABC])
echo $i ;;
Any help appreciated.