View Single Post
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#15
Originally Posted by one1002 View Post
well..i had the same problem as you at first..and i was using windows to create the script..

then i booted into ubuntu machine..copy pasted the same way..yet it worked!
Text files created using Windows apps will mostly likely default to using CRLF as end of line character(s), this will choke on linux which uses LF.

http://en.wikipedia.org/wiki/Crlf
 

The Following User Says Thank You to kureyon For This Useful Post: