View Single Post
Old 09-24-2011, 01:45 AM   #2703
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by mudskipper View Post
...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
Mark Nord is offline   Reply With Quote