![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| syntax error in while loop | habzone2007 | Shell Programming and Scripting | 1 | 05-18-2008 04:31 PM |
| Error connecting oracle from inside while loop | Devesh5683 | Shell Programming and Scripting | 3 | 05-13-2008 02:48 AM |
| For loop statement - catch error | lumdev | Shell Programming and Scripting | 4 | 09-20-2007 07:50 AM |
| error in bash script 'if' loop | DILEEP410 | Shell Programming and Scripting | 2 | 06-06-2007 08:04 AM |
| Unix-Sql Loop error | manu_byc | Shell Programming and Scripting | 3 | 02-05-2007 09:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Error in for loop?
Hi,
Working on AIX using the following for loop. for a in `find /edi/iTracTEST/sessions -name nohup.out -print` do echo $a done On the command line it works fine, but insert the code in a file and then running it, it does not want to work. I get the following back. ' is not expected.s2.sh: 0403-057 Syntax error at line 3 : `do Please advice |
|
||||
|
This is a Korn Shell script. Any ideas to what is causing the error.
|
| Sponsored Links | ||
|
|