Re: Scriptable Mathematica tools for auto-editing text?
- To: mathgroup at smc.vnet.net
- Subject: [mg48497] Re: Scriptable Mathematica tools for auto-editing text?
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Wed, 2 Jun 2004 04:22:06 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 6/1/04 at 3:02 AM, siegman at stanford.edu (AES/newspost) wrote: >Anyone know of a Mathematica package or set of tools that can be >used to operate on a text file and do, scriptably, the kinds of >things one could do by hand using one of the more powerful text >editors, like BBEdit, emacs or QUED/M? -- a set of modules that >would do Search and Replace with some grep capabilities, pull out >all the links in an HTML document, and so on. >I'm sure I cobble up an amateur effort myself to do this, but has >someone else already done it better? You mention both BBEdit and emacs. That indicates you are using Mac OS X. If so, couldn't you do what you want by using the Mathematica command Run to access the Unix utilities, grep, sed etc? -- To reply via email subtract one hundred and four
- Follow-Ups:
- Re: Re: Scriptable Mathematica tools for auto-editing text?
- From: Yasvir Tesiram <tesiramy@omrf.ouhsc.edu>
- Re: Re: Scriptable Mathematica tools for auto-editing text?