home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / programm / 3210 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!uoft02.utoledo.edu!ocvaxa.cc.oberlin.edu!ocvaxc.cc.oberlin.edu!bamon
  2. Newsgroups: comp.programming
  3. Subject: Re: Need a text manipulation tool / programming language.
  4. Message-ID: <1992Nov23.165246.1@ocvaxc.cc.oberlin.edu>
  5. From: bamon@ocvaxc.cc.oberlin.edu
  6. Date: 23 Nov 92 16:52:46 EDT
  7. References: <1992Nov21.235606.1497@leland.Stanford.EDU> <1992Nov23.135450.27950@news.uiowa.edu>
  8. Organization: Oberlin College
  9. Nntp-Posting-Host: ocvaxc.cc.oberlin.edu
  10. Lines: 34
  11.  
  12.  In article <1992Nov21.235606.1497@leland.Stanford.EDU> felciano@summit.stanford.edu (Ramon M. Felciano) writes:
  13. >
  14. >Hi --
  15. >
  16. >I'm looking for a tool or programming language designed for the
  17. >manipulation of text files. I've got a number of similarly formatted
  18. >files that I want parsed into my program. Before I can do that,
  19. >however, I need to "massage" these files into the same format. I tried
  20. >writting a tool to do this, but the result starting looking more and
  21. >more like a language syntax parser (aagh!)
  22. >
  23. >Are there any tools (Mac, Unix, or other) that do something like this?
  24. >I guess I'm sort of looking for a glorified grep with language
  25. >constructs (e.g. if-thens).
  26. >
  27. >Thanks!
  28. >
  29. >Ramon
  30. >
  31.  
  32. There is a whole language devoted to text manipulation. It's called
  33. Snobol. It's GREAT for large jobs. I've used it to create hundreds
  34. of pages of vendor catalogues from huge magtape files. It's also
  35. great for not so large, but very complex jobs. It is a really
  36. easy to use and easy to modify language, but there is a little bit
  37. of a learning curve. It's available as Spitbol for the VAX/VMS, and
  38. there is a PC version as well. It allows complex pattern matching,
  39. and branching on the basis of the success or failure of any match.
  40.  
  41. If you want to know more, email me.
  42.  
  43. Jennifer
  44. bamon@ocvaxc.cc.oberlin.edu
  45.  
  46.