Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xtod(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dtox(C)


 xtod(C)                         19 June 1992                         xtod(C)


 Name

    xtod - change file format from UNIX to MS-DOS

 Syntax

    xtod [ filename ]  >  [ output.file ]

 Description

    The xtod command converts a file from UNIX format to MS-DOS format.  The
    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 does 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, use the dtox
    and xtod conversion utilities.  The xtod command adds the extra carriage
    return to the end of each line and adds the <Ctrl>z to the end of the
    file. This utility is not required for converting binary object files.

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

 See also

    dtox(C)


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