goto command for shell scripting?

Discussion in 'Open Source' started by paragkalra, Jul 24, 2006.

Thread Status:
Not open for further replies.
  1. paragkalra

    paragkalra The Linux Man !

    Joined:
    Jan 6, 2006
    Messages:
    217
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Nagpur, Maharashtra, India
    Hi everyone I wanted to know, whether "goto" command is available for bash shell scripting. If there is, then how to use it.

    Actually I wanted to transfer control to some other line in my shell script. Is there any other away of achieving it.
     
  2. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    Why do u wanna use goto wen u can use functions!!
     
Thread Status:
Not open for further replies.

Share This Page