bash: bld: line 11: syntax error: unexpected end of file

I'M gettting the above when I source the attached script file. Can someone please let me know what I've got wrong here? Thanks The script file was build from the commands here >

Recommended Answers

All 3 Replies

What distribution+version of Linux, and which kernel, are you running? This problem is usually due to a missing new-line at the end of the command stream. Edit the file, and add a new line at the bottom, then save the file and try again.

It's a Linux from scratch distro, the host OS is just a CLI Debian. I re checked my script file in vi and I didn't see any new line characters or spaces at the end of any of the lines.

Member Avatar for Kwetal

line 3 of temp.txt is missing a ).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.