![]() |
|
|
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 |
| 'end of file' unexpected | srisreeku | Shell Programming and Scripting | 1 | 04-28-2008 03:39 PM |
| Printing value with no obvious field seperator | Donkey25 | Shell Programming and Scripting | 4 | 03-14-2008 06:57 AM |
| end of file unexpected | naveeng.81 | Shell Programming and Scripting | 1 | 03-11-2008 06:43 AM |
| unexpected end of file | dineshr85 | Shell Programming and Scripting | 2 | 10-15-2007 03:47 AM |
| 'end of file' unexpected | abhijeetkul | Shell Programming and Scripting | 4 | 04-10-2006 07:42 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
missing the obvious, unexpected end of file
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. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|