home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sources / wanted / 4970 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.0 KB  |  32 lines

  1. Newsgroups: comp.sources.wanted
  2. Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
  3. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  4. Subject: Re: File Finder source wanted
  5. Message-ID: <1992Nov8.053057.2421@mintaka.lcs.mit.edu>
  6. Keywords: C, UNIX, HP-UX, file, directory
  7. Sender: news@mintaka.lcs.mit.edu
  8. Organization: /etc/organization
  9. References: <1decmkINNuc@hpsdlss3.sdd.hp.com>
  10. Date: Sun, 8 Nov 1992 05:30:57 GMT
  11. Lines: 19
  12.  
  13.  
  14. In article <1decmkINNuc@hpsdlss3.sdd.hp.com> voorhees@sdd.hp.com (Joe
  15. Voorhees) writes:
  16. >
  17. > I was wondering if anyone out there on the net has a C program
  18. > (source code) to do the following:
  19. >
  20. >            Program searches for file-
  21. >            name(s) beginning with search
  22. >            string in (for example):
  23. >            ~bob/*/cad_files/
  24. >            ~larry/*/cad_files/
  25.  
  26. find ~bob/*/cad_files ~larry/*/cad_files -name 'foo*' -print
  27.  
  28. -- 
  29.  \  /   Charles Hannum, mycroft@ai.mit.edu
  30.  /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
  31. Scheme  White heterosexual atheist male (WHAM) pride!
  32.