On 24Jul2006 09:51, Parag Kalra <[EMAIL PROTECTED]> wrote:
| Hi everyone I wanted to know, whether "goto" command is available for bash
| shell scripting. If there is, then how to use it.
No, and you do not want it.
| Actually I wanted to transfer control to some other line in my shell script.
| Is there any other away of achieving it.
Case statements, and while and if are your control constructs.
use them, together with variables to hold state.
A case statement may most closely match what you're doing.
--
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/