Determining End of Line Delimiter
Posted
by
Michael Merchant
on Server Fault
See other posts from Server Fault
or by Michael Merchant
Published on 2010-12-24T01:26:28Z
Indexed on
2010/12/25
4:55 UTC
Read the original article
Hit count: 254
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"?
© Server Fault or respective owner