Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pr(1) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)



PR(1-BSD)           RISC/os Reference Manual            PR(1-BSD)



NAME
     pr - print file

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

DESCRIPTION
     pr produces a printed listing of one or more files. The out-
     put is separated into pages headed by the date that the file
     was last modified (or the current date if standard input is
     used), the name of the file or a specified header, and the
     page number.  If there are no file arguments, pr prints its
     standard input.

OPTIONS
     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.  Characters
          from supplementary code sets can be used in the page
          header.

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

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

     -b   Break up lines wider than the page width.  This is use-
          ful for printing with printers and window systems that
          do not wrap long lines.

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



                        Printed 11/19/92                   Page 1





PR(1-BSD)           RISC/os Reference Manual            PR(1-BSD)



FILES
     /dev/tty? to suspend messages.

SEE ALSO
     cat(1)

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















































 Page 2                 Printed 11/19/92



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026