Answers for "syntax error, unexpected end of file"

2

syntax error: unexpected end of file bash

I think file.sh is with CRLF line terminators.

run
dos2unix file.sh
Posted by: Guest on March-16-2021
0

shell script syntax error unexpected end of file

sudo apt-get update
sudo apt-get install dos2unix
Posted by: Guest on January-31-2022

Code answers related to "syntax error, unexpected end of file"

Browse Popular Code Answers by Language