home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10864 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.3 KB

  1. Xref: sparky comp.unix.questions:10864 comp.windows.x.apps:973
  2. Newsgroups: comp.unix.questions,comp.windows.x.apps
  3. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!ukma!eng.ufl.edu!news
  4. From: ruck@zeta.ee.ufl.edu (John R Ruckstuhl Jr)
  5. Subject: backward MANPATH ?
  6. Message-ID: <1992Sep9.191751.22333@eng.ufl.edu>
  7. Sender: news@eng.ufl.edu (Usenet Diskhog System)
  8. Organization: EE Dept at UF
  9. Date: Wed, 9 Sep 92 19:17:51 GMT
  10. Lines: 26
  11.  
  12. Sanity check, please --
  13. Regarding "man" (SunOS 4.1.1) and "xman" utilities,
  14.  
  15. These utilities output the manpage found !last! in the MANPATH, 
  16. so one might suggest the MANPATH be constructed backwards (relative to
  17. the construction of other "paths" like PATH, LDPATH, etc.).
  18.  
  19. E.g., 
  20. If       PATH  is like  /usr/bin:/usr/local/bin ,
  21. then  MANPATH  is like  /usr/local/man:/usr/man .
  22.  
  23. which avoids mismatching documentation and executable when, e.g.,
  24.     /usr/bin/cut , /usr/man/man1/cut.1,
  25.     /usr/local/bin/cut , /usr/local/man/man1/cut.1
  26. all exist.
  27.  
  28. Right?  
  29. Is this standard "man" behavior?
  30. To me, it's counter-intuitive; is there an interesting explanation for this?
  31.  
  32. Best regards,
  33. ruck
  34. -- 
  35. John R. Ruckstuhl, Jr.                  ruck@alpha.ee.ufl.edu
  36. Dept of Electrical Engineering          ruck@cis.ufl.edu, uflorida!ruck
  37. University of Florida                   ruck%sphere@cis.ufl.edu, sphere!ruck
  38.