PR(I)                        3/20/74                        PR(I)







NAME

     pr  -  print file



SYNOPSIS

     pr [ -h header ] [ -n ] [ +n ] [ -wn ] [ -ln ] [ -t ] [ name

     . . .  ]



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 its standard input,

     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



     -wn   for purposes of multi-column output, take the width of

          the page to be n characters instead of the default 72



     -ln   take the length of the page to be n lines  instead  of

          the default 66



     -t    do not print the 5-line header or the  5-line  trailer

          normally supplied for each page



     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