![]() |
|
|
|
|
|||||||
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| syntax error in while loop | habzone2007 | Shell Programming and Scripting | 1 | 05-18-2008 01:31 PM |
| Error connecting oracle from inside while loop | Devesh5683 | Shell Programming and Scripting | 3 | 05-12-2008 11:48 PM |
| For loop statement - catch error | lumdev | Shell Programming and Scripting | 4 | 09-20-2007 04:50 AM |
| error in bash script 'if' loop | DILEEP410 | Shell Programming and Scripting | 2 | 06-06-2007 05:04 AM |
| Unix-Sql Loop error | manu_byc | Shell Programming and Scripting | 3 | 02-05-2007 05:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | 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 |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|