![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum 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 |
| A basic question of FOR loop | er_ashu | UNIX for Dummies Questions & Answers | 3 | 09-28-2007 07:41 AM |
| Bash while loop problem | Kweekwom | Shell Programming and Scripting | 5 | 07-22-2007 09:49 PM |
| Basic signal and alarm usage | enuenu | High Level Programming | 17 | 05-29-2007 03:50 PM |
| basic question about disk usage | karthikosu | AIX | 3 | 07-23-2006 06:16 AM |
| Why do basic unix commands not work in BASH | PixelLover | UNIX for Dummies Questions & Answers | 10 | 05-23-2006 12:10 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Basic bash 'for loop' usage
Hi! I have a simple question about using a for loop.
I'm trying to open up all the zip files in the currect directory with ark, but I am getting the error "bash: syntax error near unexpected token `['". Code:
for $i [ in `ls *.zip` ] ; do ark $i ; done ; Thanks for your time. |
| Forum Sponsor | ||
|
|