dos2ux, ux2dos - convert ASCII file format between HP-UX and DOS for‐
and read each specified file in sequence and write it to standard out‐
put, converting to HP-UX format or to DOS format, respectively. Each
file can be in either DOS format or HP-UX format for either command.
A DOS file name is recognized by the presence of an embedded colon
delimiter; see dosif(4) for DOS file naming conventions.
If no input file is given or if a file is specified as and read from
standard input. Standard input can be combined with other files.
Print file on the display:
Convert and to DOS format; then concatenate them together, placing them
The only possible failure is the inability to open a
specified file, in which case the commands print a warn‐
Command formats resembling:
overwrite the data in before the concatenation begins, causing a loss
of the contents of Therefore, be careful when using shell special char‐