![]() |
|
|
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 |
| Extracting Table names from a Select Stament | silas.john | Shell Programming and Scripting | 2 | 02-29-2008 07:46 AM |
| sed in awk ? or nested awk ? | varungupta | UNIX for Advanced & Expert Users | 11 | 02-08-2008 10:34 AM |
| Complex problem about nested for loops | Silverlining | Shell Programming and Scripting | 4 | 10-18-2007 05:19 PM |
| Time out in shell script for a stament/line | gvsreddy_539 | Shell Programming and Scripting | 5 | 10-02-2007 11:12 AM |
| Nested calls | omran | Shell Programming and Scripting | 6 | 08-16-2002 05:18 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
hi everybody: could anybody tell me what I'm doing wrong. I've tried to nest if staments like this: Code:
if [condition1]; then
if [condition2];then
if [condition3];then
commands
else
commands
fi
elif [condition4];then
commands
fi
fi
and the last fi (end stament ) appears like missing. [: 271: missing ] -----> this is the code line Thanks in advance.
|
| Bookmarks |
| Tags |
| shell scripting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|