home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13629 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.2 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!ames!purdue!yuma!csn!news.den.mmc.com!ro.den.mmc.com!beck
  2. From: beck@ro.den.mmc.com (Fred R. Beck)
  3. Newsgroups: comp.sys.sgi
  4. Subject: pr command
  5. Message-ID: <1992Sep14.221436.27502@den.mmc.com>
  6. Date: 14 Sep 92 22:14:36 GMT
  7. Sender: news@den.mmc.com (News)
  8. Organization: Martin Marietta
  9. Lines: 25
  10.  
  11. I just noticed what appears to be a feature of pr peculiar
  12. only to IRIX.  I am currently running 4.0.5, but I noticed
  13. this behavior of previous revs.  (Just didn't have the time
  14. to tie down the source of the problem.)
  15.  
  16. When I format a text file using pr, I get a full blank page
  17. following the last page of text.  The next to last page (the
  18. real last page of text) is ended with a ^V (\015).
  19.  
  20. I typically use pr in the following fashion:
  21.     
  22.     pr -o8 -l88 infile > outfile
  23.  
  24. I tried this on a Sun running thier version of SySV pr
  25. (located in /usr/5bin/pr) which produced the output I
  26. expected.  There were 5 blank lines reserved for the footer
  27. after the input text.
  28.  
  29. Just wondered if anyone else had seen this before I sent in
  30. a TAC.  Also, if anyone else has noticed this, have you found
  31. a way around it?  I tried removing the ^V via tr without any
  32. success.
  33.  
  34. thanx folks!
  35.         -fred beck
  36.