Jo [email@example.com] 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.
You can also simply use the unix utility 'dos2unix' which comes with most
flavours of unix these days.