![]() |
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 |
| Shell Script Error | jazz8146 | UNIX for Dummies Questions & Answers | 0 | 04-23-2008 07:38 AM |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| FTP shell script error caturing | im_new | Shell Programming and Scripting | 6 | 01-15-2008 03:21 AM |
| error in shell script | jalpan.pota | UNIX for Dummies Questions & Answers | 2 | 05-18-2007 09:14 AM |
| How to bypass error in shell script? | tmikahan | Shell Programming and Scripting | 1 | 05-08-2007 06:15 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
shell script error
Originally I posted this to the shell script forum but it is probably better suited here.
For the life of me I cannot get the if statement in this very simple shell script to execute. my dummy.sh looks as follows ... #!/bin/bash echo "coming in ...." echo "I can not get this simple statement to execute" if [ "foo" = "foo" ]; then echo "expression is true" fi echo "leaving...." the output I'm getting is when running the script is ... coming in .... I can not get this simple statement to execute dummy_g5.sh: line 9: syntax error: unexpected end of file Appreciate your help. |
|
||||
|
This is a duplicate of this thread:
missing the obvious, unexpected end of file No duplicate or cross-posting, read the Simple rules of the UNIX.COM forums:. Thread closed. Last edited by Franklin52; 07-02-2008 at 01:28 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|