Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ux2dos(1) [hpux man page]

dos2ux(1)						      General Commands Manual							 dos2ux(1)

NAME
dos2ux, ux2dos - convert ASCII file format between HP-UX and DOS formats SYNOPSIS
file... file... DESCRIPTION
and read each specified file in sequence and write it to standard output, 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. EXAMPLES
Print file on the display: Convert and to DOS format; then concatenate them together, placing them in RETURN VALUE
and return: Successful. Failure. The only possible failure is the inability to open a specified file, in which case the commands print a warning. WARNINGS
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 characters. SEE ALSO
dosif(4). dos2ux(1)

Check Out this Related Man Page

dosif(4)						     Kernel Interfaces Manual							  dosif(4)

NAME
DOSIF - DOS interchange format DESCRIPTION
The DOS Interchange Format (DOSIF) is the name given to the media format used by the DOS operating system. This format is based upon that used in IBM PC and PC AT and HP Vectra systems. Use the and commands to convert files between HP-UX and DOS file formats; see dos2ux(1). Use these utilities to retrieve information from a DOSIF volume. The dos*(1) utilities are the only HP-UX commands that can interact directly with the contents of a DOSIF volume. The only other way to interact with the contents of a DOSIF volume is to use an HP-UX DOS emulation or coprocessor facility such as SoftPC or the DOS Coproces- sor. The command cannot be used on a DOSIF volume because the operating system does not recognize it (see mount(1M)). When constructing file names for the dos*(1) commands, start with the HP-UX path name of the DOSIF volume, then add a colon followed by the file name: or This file naming convention is suitable for use only in arguments of the dos*(1) utilities. It does not constitute a legal path name for any other use in HP-UX applications. Metacharacters and can be used when specifying both HP-UX and DOS file names. These must be quoted when specifying a DOS file name, because file name expansion is performed by the DOS utilities, not by the shell. The dos*(1) utilities expand file names as described in regexp(5) in the section. By convention, if the HP-UX device name and a trailing colon are specified, but no file or directory name is provided (for example, the root of the DOS file system is assumed. EXAMPLES
Example 1 Specify DOSIF file accessed through HP-UX special file Example 2 Specify DOSIF file accessed through the DOS volume stored as HP-UX file SEE ALSO
dos2ux(1). dosif(4)
Man Page