how to create a loop in an if statement

view full story

http://www.unix.com – Hey guys, Code: a=`cat abc | wc -l` b=`cat def | wc -l`   if $a== $b then echo "a" else echo "b" fi I want the if condition to retry itself , untill a==b. I can't use goto statemt. Please help. Thanx in advance. Moderator's Comments: Please use next time code tags for your code and data (HowTos)