home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / educatio / impr9303.zip / PR.TXT < prev    next >
Text File  |  1992-09-02  |  3KB  |  83 lines

  1.             The UNIX print utility, PR, for PC-DOS by Morris Jones
  2.                    MicroPro Int'l Corp., Product Development
  3.             {lll-crg,ptsfa,dual,well,pyramid}!micropro!mp-mojo!mojo
  4.  
  5.                            Unix "man" Documentation:
  6.  
  7.           MicroPro Standard Library                                       pr
  8.  
  9.           NAME
  10.                pr - print file
  11.  
  12.           SYNOPSIS
  13.                pr [ option ] ... [ file ] ...
  14.  
  15.           DESCRIPTION
  16.                Pr produces a printed listing of one or  more  files.    The
  17.                output is separated into pages headed by a date, the name of
  18.                the  file  or a specified header,  and the page number.   If
  19.                there are no file arguments, pr prints its standard input.
  20.  
  21.                Options apply to all following files but may  be  reset  be-
  22.                tween files:
  23.  
  24.                /n   Produce n-column output.
  25.  
  26.                /pn  Begin printing with page n.
  27.  
  28.                /h   Take the next argument as a page header.
  29.  
  30.                /wn  Take  the  width of the page to be n characters instead
  31.                     of the default 80.
  32.  
  33.                /f   Use formfeeds instead of newlines to separate pages.  A
  34.                     formfeed is assumed to use up two blank  lines  at  the
  35.                     top  of a page.   (Thus this option does not affect the
  36.                     effective page length.)
  37.  
  38.                /ln  Take the length of the page to be n  lines  instead  of
  39.                     the default 66.
  40.  
  41.                /t   Do  not  print  the 5-line header or the 5-line trailer
  42.                     normally supplied for each page.
  43.  
  44.                /sc  Separate columns by the single character c  instead  of
  45.                     by the appropriate amount of white space.   A missing c
  46.                     is taken to be a tab.
  47.  
  48.                /m   Print all files simultaneously, each in one column.
  49.  
  50.                /Tn  Take the width of a tab character to be  n  instead  of
  51.                     the default 8.
  52.  
  53.                Note the following differences between UNIX pr(1) and PC-DOS
  54.                pr:
  55.  
  56.                .    The  switch character may be changed from `/' to `-' by
  57.                     the documented methods.
  58.  
  59.                .    The option structure  follows  the  conventions  estab-
  60.                     lished  by  AT&T for UNIX command options,  enforced by
  61.                     the use of the getopt() function.  Options that require
  62.                     arguments (such as /l) may have white space between the
  63.                     option and the argument or not.  Several options may be
  64.                     concatenated behind a single `/' with  no  white  space
  65.                     separating them.
  66.  
  67.                .    More  than  9  columns  are not supported,  or 15 files
  68.                     printed simultaneously.
  69.  
  70.                .    The UNIX "+n" option is replaced by "/pn".
  71.  
  72.           EXAMPLE
  73.  
  74.                     pr /t /m filea fileb filec
  75.  
  76.                will print out the three files simultaneously,  each in  one
  77.           column, without headers.
  78.  
  79.           AUTHOR
  80.  
  81.                Mojo Jones, mojo@micropro.UUCP
  82.  
  83.