Quote:
Originally Posted by mudskipper
...I terminate a line with Enter and save from Notepad only the last line, without termination, runs. How should a line be terminated in .sh? (currently CRLF 0x0d0a)
|
notepad is the problem!
shell-scripts needs to be Unix-style = LF only
Get you a editor where this and also the encoding (UTF-8) can be controlled.
Like
jEdit