UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: disChapter 2
Unix Commands
Next: Reference: download
 

dos2unix

dos2unix [options] dosfile unixfile

Solaris only. Convert files using the DOS extended character set to their ISO standard counterparts. If dosfile and unixfile are the same, the file is overwritten after the conversion is done. See also unix2dos.

Options

-ascii

Remove extra carriage returns and convert (remove) DOS end-of-file characters for use under Unix.

-iso

Same as the default action.

-7

Convert 8-bit DOS graphics characters to space characters.


Previous: Reference: disUNIX in a Nutshell: System V EditionNext: Reference: download
Reference: disBook IndexReference: download

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System