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





NAME            pr  --  print file



SYNOPSIS        pr [-cm] [-h name] [-n] [+n] [file  ...]
                                                  1


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:



                   -c print current date

                   -m print date file last modified (default)



                   -n produce n-column output



                   +n begin printing with page n



                   -h treats 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            In multi-column output, non-printing characters

                other than new-line cause misalignment.