DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

dtox(C)


dtox -- change file format from MS-DOS to UNIX

Syntax

dtox filename > output.file

Description

The dtox command converts a file from MS-DOS format to UNIX format. MS-DOS files terminate a line of text with a carriage return and a linefeed, while UNIX files terminate a line with a linefeed only. Also MS-DOS places a <Ctrl>z at the end of a file, while UNIX systems do not. Some programs and utilities are sensitive to this difference and some are not. If a text or data file is not being interpreted correctly, then use the dtox and xtod conversion utilities. The dtox command strips the extra carriage return from the end of each line and strips the <Ctrl>z from the end of the file. This utility is not required for binary object files.

If no filename is specified on the command line, dtox takes input from standard input. Output of the utility goes to standard output.

See also

xtod(C)

Standards conformance

dtox is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003