No panacea that dos2unix (or 'tleast maybe the one I use isn't robust enough).
I've had occasions happen where it left garbage characters (carat-qmark pairings particularly) in files I thought were, at minimum, ASCII and the line-endings just needed tweaking. I find the better approach to be to use a CLI editor or the GUI one I mentioned in my previous post, Crimson Editor.
BZT
Quote:
Originally Posted by Frostybeard
The newline characters are different between Unix and Windows. So if you write a script in Windows, it may not work in Unix.
dos2unix is one utility that you can use to clean up your windows text files for use in Unix.
|