*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> dos2ux (1)              


 dos2ux(1)                                                         dos2ux(1)

 NAME    [Toc]    [Back]
      dos2ux, ux2dos - convert ASCII file format

 SYNOPSIS    [Toc]    [Back]
      dos2ux file...

      ux2dos file...

 DESCRIPTION    [Toc]    [Back]
      dos2ux and ux2dos 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 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 the argument - is encountered, dos2ux
      and ux2dos read from standard input.  Standard input can be combined
      with other files.

 EXAMPLES    [Toc]    [Back]
      Print file myfile on the display:

           dos2ux myfile

      Convert file1 and file2 to DOS format then concatenate them together,
      placing them in file3.

           ux2dos file1 file2 > file3

 RETURN VALUE    [Toc]    [Back]
      dos2ux and ux2dos return 0 if successful or 2 if the command failed.
      The only possible failure is the inability to open a specified file,
      in which case the commands print a warning.

 WARNINGS    [Toc]    [Back]
      Command formats resembling:

           dos2ux file1 file2 > file1

      overwrite the data in file1 before the concatenation begins, causing a
      loss of the contents of file1.  Therefore, be careful when using shell
      special characters.

 SEE ALSO    [Toc]    [Back]
      doschmod(1), doscp(1), dosdf(1), dosls(1), dosmkdir(1), dosrm(1),

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
SlaToIv IRIX convert an SLA format file into an Open Inventor 2.0 file.
xf86config_convert HP-UX convert XF86Config file format
pppdump Linux convert PPP record file to readable format
ObjToIv IRIX convert a Wavefront .obj file to Open Inventor 2.0 format
SoftimageToIv IRIX convert a Softimage .hrc file to Open Inventor 2.0 format
unix2dos Tru64 mtools utility to convert a UNIX file to DOS format
AliasToIv IRIX convert an Alias wire file to Open Inventor 2.0 format
bdftopcf Tru64 convert X font from Bitmap Distribution Format to Portable Compiled Format
bdftopcf IRIX convert X font from Bitmap Distribution Format to Portable Compiled Format
bdftopcf HP-UX convert X font from Bitmap Distribution Format to Portable Compiled Format
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service