![]() |
|
|
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 |
| Shell Script Unique Identifier Question | grahambo2005 | UNIX for Dummies Questions & Answers | 7 | 07-22-2008 12:41 PM |
| Getting is not an identifier error | swat | Shell Programming and Scripting | 12 | 02-15-2008 05:21 PM |
| SED or AWK: Appending a line Identifier that changes with paragraph? | selkirk | UNIX for Dummies Questions & Answers | 1 | 04-28-2007 03:03 AM |
| Problem with shell script...ORA-00904:invalid identifier | bhagat.singh-j | Shell Programming and Scripting | 12 | 11-13-2006 10:33 AM |
| COMMON_ROOT=/files/common: is not an identifier | nitinmoriwal | UNIX for Advanced & Expert Users | 2 | 08-25-2006 09:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
': not a valid identifier
I am trying to write a bash script. I am able to do simple things like pass arguments, assign variables and echo the results. However, when I try to declare and array or anything a little more complicated I get
': not a valid identifier Here is my code so far: #!/bin/bash echo start t declare -a ARRAY echo end t And when I execute the script I get: start t ': not a valid identifier end t My plan is to make a script that reads a file on line at a time and output's only part of each line to another file. It doesn't seem like it should be hard. But I can't get anything to work. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|