Re: writing mathematica script files for the math kernel under linux

*To*: mathgroup at smc.vnet.net*Subject*: [mg25100] Re: writing mathematica script files for the math kernel under linux*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Sun, 10 Sep 2000 03:14:25 -0400 (EDT)*Organization*: Universitaet Leipzig*References*: <8p9l3p$1v1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi, math < inscript > output and the file -------------------------- Expand[(x+1)^3] Quit[] -------------------------- will generate -------------------------------------------------- Mathematica 4.0 for Silicon Graphics Copyright 1988-1999 Wolfram Research, Inc. -- Motif graphics initialized -- In[1]:= 2 3 Out[1]= 1 + 3 x + 3 x + x In[2]:= -------------------------------------------------- There are some tools in the ProgrammingInMathematica context like NotebookLog that are able to generate notebooks *from* the input script. AFIK there is nothing to interprete a notebook by the kernel. Regards Jens "Ryan VanRiper (--)" wrote: > > Hello, I spoke with a tech support person at wolfram and they said > mathematica supported scripting. However he didnt know anything more > then that. > > Im running mathematica 4 on linux.. Is it possible for the "math" > executable to somehow run a script file that did the following: > > load in a notebook file > evaluate the notebook > then export the results to a text file > > I want to automate this process without sitting and typing things from > the math command line. > > If anyone has some ideas on how to do this please respond. > > Thanks, > Ryan