home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9447 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!brunix!brunix!pew
  3. From: pew@cs.brown.edu (Peter E. Wagner)
  4. Subject: Should I use awk, perl, or something else?
  5. Message-ID: <1992Jul27.151529.7448@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. Date: Mon, 27 Jul 1992 15:15:29 GMT
  9. Lines: 22
  10.  
  11. I've got a task that requires the extraction of pieces of text based
  12. on the context of the text within the document.  More specifically, I
  13. have an SGML document from which I need to extract the title elements
  14. from certain types of sections.  
  15.  
  16. I'm trying to decide how best to attack this problem.  I don't think
  17. it's going to be hard to do this, but I want to choose the right tool.
  18. I believe that I can do it in either awk or perl, but I don't know
  19. either, so I'm looking for recommendations.  I've got two books in
  20. front of me: Programming Perl (Wall, Schwartz) and The AWK Programming
  21. Language (Aho, Kernighan, Weinberger)...
  22.  
  23. Which is the better tool for the job?  Is there something else that I
  24. should use?  Thanks in advance, and email to pwagner@ejv.com (not the
  25. address from which this article was posted) would be great, as it's
  26. hard for me to read this newsgroup at present.
  27.  
  28.     >p
  29. ----------------------------------------------------------------
  30. Peter E. Wagner          (212)460-5672        pwagner@ejv.com
  31. 52 E 13th St. Apt. 5E                         pew@BROWNCS.BITNET
  32. New York, NY 10003                            uunet!brunix!pew
  33.