The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Korne Shell Script... marconi Shell Programming and Scripting 5 12-06-2007 08:08 PM
Korne Shell... marconi Shell Programming and Scripting 1 12-06-2007 11:01 AM
Some Problem with Korne Shell// marconi Shell Programming and Scripting 4 12-06-2007 07:57 AM
Korne Shell Problem. marconi Shell Programming and Scripting 3 12-05-2007 01:30 PM
Mailing in Korne shell DeepakXavier Shell Programming and Scripting 5 10-09-2005 01:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2005
Registered User
 

Join Date: Sep 2005
Posts: 19
GOTO LOOP in KORNE SHELL

All

Please help to provide "goto" functionality in KORN shell script.

ex:

1: Command
Process some command
if check some variable
true
goto 1
else
process some other


Please help to implement this example in korne shell script


Thanks in advance

Regards
Deepak
Reply With Quote
Forum Sponsor
  #2  
Old 11-10-2005
Registered User
 

Join Date: Jan 2005
Posts: 682
Code:
while :
do
    Process some command
    if [ check some variable ]
    then
        continue
    else
        break
    fi
done
process some other
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0