[Date Index] [Thread Index] [Author Index]
Re: Scriptable Mathematica tools for auto-editing text?
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