home *** CD-ROM | disk | FTP | other *** search
/ Chip: Windows 2000 Professional Resource Kit / W2KPRK.iso / apps / posix / source / MAN / CAT.PRT < prev    next >
Encoding:
Text File  |  1999-11-17  |  1.5 KB  |  67 lines

  1.                                                           CAT (1)
  2.  
  3. NAME
  4.  
  5.   cat - concatenate and print files
  6.  
  7. SYNOPSIS
  8.  
  9.   cat [ benstuv ] [  ] [  ]
  10. DESCRIPTION
  11.  
  12.   The cat utility reads files sequentially, writing them  to  the
  13. standard output.  The file operands are processed in command line
  14. order.  A single dash represents standard input.
  15.   The options are as follows:
  16.      b - Implies the option but doesn't number blank lines.
  17.      e - Implies the option, and displays a dollar  sign  at  the
  18.      end of each line as well.
  19.      n - Number the output lines, starting at 1.
  20.      s - Squeeze multiple adjacent empty lines, causing the  out-
  21.      put to be single spaced.
  22.      t - Implies the option, and displays tab  characters  as  as
  23.      well.
  24.      u - The option guarantees that the output is unbuffered.
  25.      v - Displays non-printing characters so  they  are  visible.
  26.      Control characters print line [^X] for control-X; the delete
  27.      character (octal 0177) prints as [^?]  Non-ascii  characters
  28.      (with  the high bit set) are printed as [M-] (for meta) fol-
  29.      lowed by the character for the low 7 bits.
  30.   The cat utility exits 0 on success, and >0 if an error occurs.
  31. BUGS
  32.  
  33.   Because of the shell language mechanism used to perform  output
  34. redirection, the command will cause the original data in file1 to
  35. be destroyed!
  36. SEE ALSO
  37.  
  38.   head (1) , more (1) , pr (1) , tail (1)
  39. HISTORY
  40.  
  41.   A
  42.  
  43. command appeared in Version 6 AT&T UNIX.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.