dos2unix — Convert Text File from DOS Format to ISO Format

Synopsis

/usr/bin/dos2unix [-ascii][-iso][-7] originalfile convertedfile
					

Description

dos2unix converts characters in the DOS extended character set to the corresponding ISO standard characters.

You can invoke this command from either DOS or SunOS. However, the file names must conform to the conventions of the environment in which you invoke the command.

If originalfile and convertedfile are the same, dos2unix rewrites the original file after converting it.

Options

-ascii Remove extra Returns and convert end-of-file characters in DOS format text files to conform to SunOS requirements.
-iso Convert characters in the DOS extended character set to the corresponding ISO standard characters ...

Get Solaris™ 7 Reference 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.