man(1) Manual page archive

     PR(1)                                                       PR(1)

          pr - print file

          pr [ option ] ...  [ file ] ...

          Pr produces a printed listing of one or more files. The out-
          put is separated into pages headed by a date, the name of
          the file or a specified header, and the page number.  For no
          file arguments, or for a file argument `-', pr prints its
          standard input.

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

          -n   Produce n-column output.

          +n   Begin printing with page n.

          -h   Take the next argument as a page header.

          -d   double space

          -wn  For purposes of multi-column output, take the width of
               the page to be n characters instead of the default 72.

          -f   Use formfeeds to separate pages.  Pause, ring bell, and
               wait for newline before beginning.

          -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.

          -sc  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.

          -m   Print all files simultaneously, each in one column,

          -on  offset the left margin n positions

          -p   between pages pause, ring bell, and wait for newline

          -b   Balance columns on last page, in case of multi-column

          Inter-terminal messages via write(1) are forbidden during a

     PR(1)                                                       PR(1)


          /dev/tty?  to suspend messages.

          cat(1), present(1)

          There are no diagnostics when pr is printing on a terminal.