![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Increment date in 'for' loop? | SunnyK | Shell Programming and Scripting | 4 | 10-30-2007 02:12 AM |
| Infinite Loop in Autosys while running a shell script, Manual run is fine | sharmagaurav_2k | Shell Programming and Scripting | 2 | 09-04-2007 05:20 AM |
| pick the bug the server enters an infinite loop | arjunjag | High Level Programming | 3 | 07-18-2007 10:53 PM |
| ls command in infinite Loop | umakant | SUN Solaris | 3 | 07-16-2007 10:25 PM |
| high priority thread contains an infinite loop | rvan | High Level Programming | 0 | 02-14-2007 05:30 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
code is as
#!/bin/sh i=1; while [ $i -le 5] do welcome $i times; i='expr $i+1'; done exit 0; |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
Code:
#!/bin/sh i=1 while [ $i -le 5 ] do welcome $i times; echo "value of i is...$i" i='expr $i + 1' done exit 0 |