home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / programm / 3205 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!news.uiowa.edu!tessa!norwest
  3. From: norwest@tessa (norwest)
  4. Subject: Re: Need a text manipulation tool / programming language.
  5. Message-ID: <1992Nov23.135450.27950@news.uiowa.edu>
  6. Sender: news@news.uiowa.edu (News)
  7. Date: Mon, 23 Nov 1992 13:54:50 GMT
  8. References: <1992Nov21.235606.1497@leland.Stanford.EDU>
  9. Nntp-Posting-Host: tessa.iaf.uiowa.edu
  10. Organization: University of Iowa, Image Analysis Facility
  11. Lines: 26
  12.  
  13. In article <1992Nov21.235606.1497@leland.Stanford.EDU> felciano@summit.stanford.edu (Ramon M. Felciano) writes:
  14. >
  15. >Hi --
  16. >
  17. >I'm looking for a tool or programming language designed for the
  18. >manipulation of text files. I've got a number of similarly formatted
  19. >files that I want parsed into my program. Before I can do that,
  20. >however, I need to "massage" these files into the same format. I tried
  21. >writting a tool to do this, but the result starting looking more and
  22. >more like a language syntax parser (aagh!)
  23. >
  24. >Are there any tools (Mac, Unix, or other) that do something like this?
  25. >I guess I'm sort of looking for a glorified grep with language
  26. >constructs (e.g. if-thens).
  27. >
  28. >Thanks!
  29. >
  30. >Ramon
  31. >
  32. Sounds like a job for awk.  If you are not running a UNIX environment
  33. there should be gnu versions of awk that you can obtain.
  34. Good luck,  
  35.  
  36. Alex.
  37.  
  38.  
  39.