Bash Script Error Unexpected Eof While Looking For Matching '. However, i would add that you may find it easier to. The problem is with your sed command:.

Every time i open the terminal i get this error: However, i would add that you may find it easier to. This script is designed to restart the machine and will eventually be called via a cron job, but this is unrelated and really only to allow serverfault to post this question.
Every Time I Open The Terminal I Get This Error:
A code block starts with a. Maybe there is something else wrong? Unexpected end of file 4 bash is looking for a missing ' ' , unexpected eof
However, I Would Add That You May Find It Easier To.
I should have been clearer, sorry! (you can make it visible by dumping. The quoting looks generally okay, but you probably are running into problems with this line:
Export Java_Home=$ {C:\Java\} The First Use Of Is Not Escaped, While The Second.
And here are the two mistakes i have: Echo would you like to see. Sed \'s///g\' when you have \' this is an escaped single quote.
Unexpected Eof While Parsing Means That The End Of Your Source Code Was Reached Before All Code Blocks Were Completed.
I have problem with bash which is looking for a missing character but i cannot find it. Connect and share knowledge within a single location that is structured and easy to search. Ikkachu is correct that the code, when not indented, should work fine on any reasonably modern version of bash.
This Script Is Designed To Restart The Machine And Will Eventually Be Called Via A Cron Job, But This Is Unrelated And Really Only To Allow Serverfault To Post This Question.
Then you later have a , and there are no more characters for the rest of the script. You should use triple quotes instead so you don't get tripped up with incorrectly escaping double quotes: Unexpected eof while looking for matching “'./collecteur_cpu_reseau: