AFAIK, no shell have goto feature, and even needs one.
In the man page of your shell, pay attention to the looping mechanisms, like while, until and to case.
If you're still stuck, come back with what you have and what you can't do.
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884