home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1193 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!tellus!netmgr
  3. From: netmgr@tellus.csc.FI (Pekka Kytolaakso)
  4. Subject: Re: Waisindex indexing the index.* files
  5. Message-ID: <1992Nov17.145359.6603@nic.funet.fi>
  6. Sender: usenet@nic.funet.fi
  7. Nntp-Posting-Host: tellus.csc.fi
  8. Organization: Centre for Scientific Computing, Finland (CSC)
  9. References: <92321.171224RBF@psuvm.psu.edu>
  10. Date: Tue, 17 Nov 92 14:53:59 GMT
  11. Lines: 25
  12.  
  13. In <92321.171224RBF@psuvm.psu.edu> RBF@psuvm.psu.edu writes:
  14. >I am running the 1.03 Unix server from Boombox and the Wais code (from
  15. >wais-8-b5) under Aix/ESA.  I build indexes in the usual way by cd'ing to a
  16. >..index directory and then running waisindex.  The index.* files that are
  17. >built work fine except that they also include the data in the index.* files.
  18. >How do I prevent waisindex from indexing the index.* files that it builds in
  19. >the .index directory (this occurs right before waisindex finishes).  I have
  20. >tried this with and without the gopher daemon running and get the same
  21. >result.
  22.  
  23. >Bob Fowles, Center for Academic Computing, Penn State
  24.  
  25. I like to exclude all special files directories from wais-index. I do it
  26. using find+waisindex -stdin:
  27.  
  28. cd <directory from witch to index>
  29. find . -print | grep -v '/\.' | \
  30.   /usr/local/etc/waisindex -d .index/index -nocat -mem 5 -stdin
  31.  
  32. Pekka Kyt|laakso
  33. --
  34. ---------------------------------------------------------------
  35. netmgr@tellus.csc.fi     Centre for Scientific Computing
  36. Pekka.Kytolaakso@csc.fi  PL 40   SF-02101 Espoo FINLAND
  37. Phone: +358 0 4571       Telefax: + 358 0 4572302
  38.