home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / getopt.zip / rpr.1 < prev    next >
Text File  |  1994-03-16  |  2KB  |  55 lines

  1. rpr(1)                                                                 rpr(1)
  2. ─────────────────────────────────────────────────────────────────────────────
  3.  
  4. NAME
  5.     rpr -- display and format files
  6.  
  7. SYNTAX
  8.     rpr [-dFnt] [-h header] [-l lines] [-w width] file ...
  9.  
  10. DESCRIPTION
  11.     rpr displays the specified files on the standard output in a 
  12.     paginated form. By default, rpr formats the given files into
  13.     66-line pages. Each page has a 5-line header. By default, the 
  14.     third line contains the file's path name, its date of last 
  15.     modifica- tion and the current page number; the other lines are 
  16.     blank. A 5-line trailer consists of blank lines.
  17.  
  18. OPTIONS
  19.     rpr accepts the following options:
  20.  
  21.     -d  produces double-spaced output.
  22.  
  23.     -F  uses formfeeds to separate pages. rpr normally separates 
  24.         pages by sending a series of newline characters to fill the 
  25.         length of a page.
  26.  
  27.     -h header
  28.         uses the header string instead of the file name on each 
  29.         succeeding page header.
  30.  
  31.     -l n
  32.         sets the number of lines per page of output; the default is 
  33.         66. The actual number of lines displayed per page is this 
  34.         number less 5 for the header and 5 for the trailer. If n is 
  35.         less than 10 (the number of lines needed for the header and 
  36.         the trailer), rpr displays neither the header nor the 
  37.         trailer.
  38.  
  39.     -n  numbers the lines of each file. Each number takes up 5 
  40.         positions. A space separates the number from the line. 
  41.  
  42.     -t  does not display the headers and trailers, and quits after 
  43.         the last line of the file -- it does not display any extra 
  44.         lines.
  45.  
  46.     -w n
  47.         sets the width of the page to n column positions. Without 
  48.         this option, the default page width is 72.
  49.  
  50. SEE ALSO
  51.     GetOpt(3), SetupArg(3)
  52.  
  53. COPYRIGHT
  54.     Copyright (c) 1994 Lawrence R Buchanan.
  55.