Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xtod(LMX) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dtox(C)

XTOD(C)


     XTOD(C)                                        UNIX System V



     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 <CTL> 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  <CTL>  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)


     (printed 11/30/89)                                   XTOD(C)

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