4.4BSD/usr/share/man/cat1/cat.0

Compare this file to the similar file:
Show the results in this format:

CAT(1)                       BSD Reference Manual                       CAT(1)

NNAAMMEE
     ccaatt - concatenate and print files

SSYYNNOOPPSSIISS
     ccaatt [--bbeennssttuuvv] [--] [_f_i_l_e _._._.]

DDEESSCCRRIIPPTTIIOONN
     The ccaatt utility reads files sequentially, writing them to the standard
     output.  The _f_i_l_e operands are processed in command line order.  A single
     dash represents the standard input.

     The options are as follows:

     --bb      Implies the --nn option but doesn't number blank lines.

     --ee      Implies the --vv option, and displays a dollar sign (`$') at the
             end of each line as well.

     --nn      Number the _o_u_t_p_u_t lines, starting at 1.

     --ss      Squeeze multiple adjacent empty lines, causing the output to be
             single spaced.

     --tt      Implies the --vv option, and displays tab characters as (`^I') as
             well.

     --uu      The --uu option guarantees that the output is unbuffered.

     --vv      Displays non-printing characters so they are visible.  Control
             characters print as `^X' for control-X; the delete character (oc-
             tal 0177) prints as `^?' Non-ascii characters (with the high bit
             set) are printed as `M-' (for meta) followed by the character for
             the low 7 bits.

     The ccaatt utility exits 0 on success, and >0 if an error occurs.

BBUUGGSS
     Because of the shell language mechanism used to perform output redirec-
     tion, the command ``cat file1 file 2 > file1'' will cause the original
     data in file1 to be destroyed!

SSEEEE AALLSSOO
     head(1),  more(1),  pr(1),  tail(1)

     Rob Pike, "UNIX Style, or cat -v Considered Harmful", _U_S_E_N_I_X _S_u_m_m_e_r
     _C_o_n_f_e_r_e_n_c_e _P_r_o_c_e_e_d_i_n_g_s, 1983.

HHIISSTTOORRYY
     A ccaatt command appeared in Version 6 AT&T UNIX.

3rd Berkeley Distribution        June 29, 1993                               1