![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error in ksh script | G.K.K | Shell Programming and Scripting | 5 | 10-15-2008 10:49 AM |
| when executing .sh script in telnet error "script not found" | smiley | Shell Programming and Scripting | 1 | 04-22-2008 02:01 PM |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| Script Error if ... then | Nysif Steve | UNIX for Dummies Questions & Answers | 4 | 09-19-2007 04:41 PM |
| error in awk script | rraajjiibb | Shell Programming and Scripting | 7 | 06-10-2004 08:37 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
That is because of the missing statement (highlighted in RED) within the for loop
Code:
for (( i = 1 ; i <= 20 ; i++ )) do export SMCHOME=/global/app/R1S1A3/RAFS/RAF_$i $SMCHOME/bin/genraf.exe &> LOG_RAF/RAF_$i.txt & i= $(( $i + 1 )) done ![]() Regards, Praveen |
|
|||||
|
Quote:
Code:
for (( i = 1 ; i <= 20 ; i++ ))
do
export SMCHOME=/global/app/R1S1A3/RAFS/RAF_$i
${SMCHOME}/bin/genraf.exe > LOG_RAF/RAF_${i}.txt &
done
|
|
|||||
|
Pludi,
Quote:
![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|