PR(I)                        1/15/73                        PR(I)







NAME

     pr  -  print file



SYNOPSIS

     pr [ -h name ] [ -n ] [ +n ] [ file ... ]



DESCRIPTION

     Pr produces a printed listing of one  or  more  files.   The

     output is separated into pages headed by a date, the name of

     the file or a header (if any),  and  the  page  number.   If

     there  are  no  file arguments, pr prints the standard input

     file, and is thus usable as a filter.



     Options apply to  all  following  files  but  may  be  reset

     between files:



     -n    produce n-column output



     +n    begin printing with page n.



     -h    treat the next argument as a header



     If there is a header in force, it is printed in place of the

     file name.  Interconsole messages via write(I) are forbidden

     during a pr.



FILES

     /dev/tty?  to suspend messages.



SEE ALSO

     cat(I), cp(I)



DIAGNOSTICS

     none (files not found are ignored)



BUGS

     It would be nice to be able to set the number of  lines  per

     page.