Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtox(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xtod(C)


 dtox(C)                         19 June 1992                         dtox(C)


 Name

    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)

 Value added

    dtox is an extension of AT&T System V provided by The Santa Cruz Opera-
    tion, Inc.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026