home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / infosyst / gopher / 2108 < prev    next >
Encoding:
Text File  |  1993-01-28  |  914 b   |  33 lines

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!news.claremont.edu!news
  3. From: jonv@kyoto.claremont.edu (Jon Vestal)
  4. Subject: Help With Search Mechanisim
  5. Message-ID: <1993Jan27.004025.27198@muddcs.claremont.edu>
  6. Sender: news@muddcs.claremont.edu (The News System)
  7. Organization: Harvey Mudd College, Claremont, CA 91711
  8. Date: Wed, 27 Jan 1993 00:40:25 GMT
  9. Lines: 22
  10.  
  11. Hi,
  12.  
  13. I am trying to establish a search which will return the results of a grep  
  14. on a file. Here is my setup:
  15.  
  16. In a file called test.search there is the following:
  17.  
  18. #!/bin/csh
  19. echo "0Mathces for $1   exec:$1 all_classes:/bin/grep   ptnext  70\r"
  20. echo ".\r"
  21.  
  22. The .cap file for this file is as follows:
  23.  
  24. Name=Experimental DO NOT USE!!
  25. Type=7
  26.  
  27. I took this form from a news message a week or so ago.  Can someone help  
  28. me with this.  Thanks.
  29.  
  30. Jon Vestal
  31. Systems Technician 
  32. Pitzer College
  33.