home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18763 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!zkessin
  3. From: zkessin@chaos.cs.brandeis.edu (Zach, the Lego Maniac)
  4. Subject: Re: Need a text manipulation tool / programming language.
  5. Message-ID: <zkessin.722410214@chaos.cs.brandeis.edu>
  6. Sender: news@news.cs.brandeis.edu (USENET News System)
  7. Organization: Brandeis University
  8. References: <1992Nov21.234721.564@leland.Stanford.EDU>
  9. Date: Sun, 22 Nov 1992 05:30:14 GMT
  10. Lines: 26
  11.  
  12. felciano@summit.stanford.edu (Ramon M. Felciano) writes:
  13.  
  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. Well on unix there are sed, awk and perl. (in increasing complexity
  29. and power) All have been ported to the mac.
  30.  
  31. --Zach  Zkessin@cs.brandeis.edu 
  32.  
  33. There are worlds out there where the sky is burning.  The sea's
  34. asleep, and the rivers dream. People made of smoke and cities made of sound.
  35. Somewhere there's danger. Somewhere there's injustice.
  36. Somewhere else the tea's getting cold. Come on Ace, we've got work to do."
  37.                                     -The Doctor "Survival"
  38.