Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

syntax error: unexpected end of file bash

I think file.sh is with CRLF line terminators.

run
dos2unix file.sh
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #syntax #unexpected #file #bash
ADD COMMENT
Topic
Name
2+8 =