home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
lan
/
soss.arj
/
D2X
/
D2X.1
next >
Wrap
Text File
|
1991-04-01
|
1KB
|
34 lines
D2X(LOCAL)
Name
d2x - change file format from MS-DOS to UNIX
Syntax
d2x [infile [outfile]]
d2x infile1 ... infileN outdir
Description
d2x converts text files from MS-DOS to Unix. DOS stores
text files with line terminators consisting of CR/LF, and
sometimes appends a control-Z character to the end of the
file. Unix terminates lines with LF only, meaning Unix text
files require slightly less space. The d2x command strips
surplus CR and control-Z characters. Do not use this util-
ity on binary object files.
If no filename is specified on the command line, d2x takes
input from standard input and sends its output to standard
output. If a directory is specified as the destination, one
or more input files are copied into it.
This program was written due to deficiencies in the SCO Unix
version, and due to the need for portable Unix/DOS file
transfer utilities throughout the development environment.
See Also
x2d(LOCAL)
(printed 4/1/91) D2X(LOCAL)