dos2unix - Convert DOS format files to UNIX format files
me "@dos2unix" <files>
me "@unix2dos" <files>
me "@unix2win" <files>
The start-up file dos2unix.emf may be invoked from the command line as a filter to convert all files in MS-DOS or Windows format into the correct UNIX format.
Each file specified on the command line is interrogated and the line ending modified to UNIX.
unix2dos and unix2win similarly operate to provide the inverse conversion from UNIX to the Microsoft MS-DOS or Windows file formats.
When using ME as a command line filter then it is advisable to control the backup command line options. Typically the backups and auto-save are disabled so that no backup files are generated i.e.
me -a -B "@unix2dos" files...
Performs a conversion from UNIX to MS-DOS and disables the generation of auto-save files and backups.
NE may be used to run the filters, by default NE runs without backup and auto-save mode enabled and the flags should NOT be used.
ne "@unix2dos" files...
MS-DOS files are defined to use a line ending of \r\n, the file is terminated with ctrl-z.
Microsoft Windows files are defined to use a line ending of \r\n, there is no special end of file character.
UNIX files are defined to use a line ending of \n, there is no special end of file character.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2005/03/06
Generated On: 2006/10/07