Determining End of Line Delimiter
- by Michael Merchant
How do you verify what the delimiter for a file is?
I'm using eclipse to edit a script file on my windows system that I use to deploy on my unix server. The script specifies file names and I'd like to be certain that eclipse is saving the files with unix end of line delimiters.
I've set my preferences to use the Unix Line Delimiter on new files using:
Window > Preferences > General > Workspace > "New text file line delimiter"
And have changed my script file's line delimiter using.
File -> Convert Line Delimiters To
Is there a way (preferably with the eclipse IDE) to check that there is no "\r"?