[0m


PR(1)		    UNIX Programmer's Manual		    PR(1)



[1mNAME
     [0mpr - print file

[1mSYNOPSIS
     pr [0m[ option ] ...	[ file ] ...

[1mDESCRIPTION
     [0m_P_r produces a printed listing of one or more _f_i_l_e_s. The out-
     put is separated into pages headed by a date, the name of
     the file or a specified header, and the page number.  If
     there are no file arguments, _p_r prints its standard input.

     Options apply to all following files but may be reset
     between files:

     [1m-[0m_n   Produce _n-column output.

     [1m+[0m_n   Begin printing with page _n.

     [1m-h   [0mTake the next argument as a page header.

     [1m-w[0m_n  For purposes of multi-column output, take the width of
	  the page to be _n characters instead of the default 72.

     [1m-f   [0mUse formfeeds instead of newlines to separate pages.	A
	  formfeed is assumed to use up two blank lines at the
	  top of a page.  (Thus this option does not affect the
	  effective page length.)

     [1m-l[0m_n  Take the length of the page to be _n lines instead of
	  the default 66.

     [1m-t   [0mDo not print the 5-line header or the 5-line trailer
	  normally supplied for each page.

     [1m-s[0m_c  Separate columns by the single character _c instead of
	  by the appropriate amount of white space.  A missing _c
	  is taken to be a tab.

     [1m-m   [0mPrint all _f_i_l_e_s simultaneously, each in one column,

     Inter-terminal messages via _w_r_i_t_e(1) are forbidden during a
     _p_r.

[1mFILES
     [0m/dev/tty?	to suspend messages.

[1mSEE ALSO
     [0mcat(1)

[1mDIAGNOSTICS
     [0mThere are no diagnostics when _p_r is printing on a terminal.



Printed 4/12/92     Revision 1.2 of 19/10/88			1



[0m