You shouldn't need to. As per the
JLS, both Unix and Windows line line termination styles are legal. If a Java editor won't render one of these, it's a bug (at least according to the JLS).
In any case, Eclipse renders either type fine.
As for stripping off Windows-style line terminators when moving files about, I tend to use Emacs for this...I've never had to do enough that I've researched a better way. I imagine there's a single sed command that would do it though
--Tim
[ July 20, 2004: Message edited by: Tim West ]