Name

unix2dos

Synopsis

    unix2dos [options]unixfile dosfile

Solaris and GNU/Linux only. Convert files using the ISO standard characters to their DOS counterparts. If unixfile and dosfile are the same, the file is overwritten after the conversion is done. See also dos2unix.

For the GNU/Linux version, the options are the same as for dos2unix; see the dos2unix entry for the list.

Solaris Options

-ascii

Add extra carriage returns for use under DOS.

-iso

Same as the default action.

-437

Use the US code page.

-7

Convert 8-bit Solaris characters to 7-bit DOS characters.

-850

Use the multilingual code page.

-860

Use the Portugese code page.

-863

Use the French Canadian code page.

-865

Use the Danish code page.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.