Re: File/Stream I/O with Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg25810] Re: File/Stream I/O with Mathematica
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 28 Oct 2000 01:41:03 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <8t64pp$ehe@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, you must load the file contents as a string to the Mathematica Kernel. Regards Jens Justus Heimann wrote: > > Dear All, > > I'm running Mathematica 4.0 on WinNT and 3.0 on IRIX 6.5. > > I have a question concerning "unstructured" File/Stream I/O with > Mathematica: > > Does anybody know a Mathematica function which allows to open external > Ascii-files, just scanning the file for a specific text-string in order > to directly replace it with some other string when found and than again > closing the Ascii-file (somehow similar to a UNIX script) ? > > Thanxs, > Justus