Jo [joe@oshima.com.au] quoth:
*>
*>The original file was saved on a windows machine, and i copy/pasted it through a linux text editor. I noticed when i edit the original file using vi, down the bottom next to the file name is [dos]. Im thinking this has something to do with it.
http://history.perl.org/oneliners/filters/dos2unix.html
You can also simply use the unix utility 'dos2unix' which comes with most
flavours of unix these days.
e.