to_dos man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



TO_DOS(1)							     TO_DOS(1)

NAME
     to_dos, to_unix - convert text files between MSDOS and UNIX

SYNOPSIS
     to_dos [ <UNIX file> [<MSDOS file>]]
     to_unix [ <MSDOS file> [<UNIX file>]]

DESCRIPTION
     to_dos converts a UNIX text file into a MSDOS text file by appending a
     control-M character at the end of each line and a control-Z character at
     the end of the file.  to_unix converts a MSDOS text file into a UNIX text
     file by stripping trailing control-M and control-Z characters.

     Both commands can take zero, one, or two arguments.  If no arguments are
     given, the commands act as a filter, taking input from stdin and writing
     the modified file to stdout.  When a single argument is specified, the
     argument is treated as the name of the input file, and the resulting
     output is written to stdout.  Finally, if two arguments are provided on
     the command line, the first argument is treated as the input file and the
     second argument is treated as the output file.

EXAMPLES
     cat /etc/hosts | to_dos > /dev/ttyd2

     to_unix /etc/hosts > /dev/ttyd2

     to_dos /etc/hosts /dev/ttyd2

BUGS
     Both to_dos and to_unix are unable to deal with extremely long lines (>
     4K).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net