Re: batching a file from terminal



Hello Dick!

I'm new to Maxima but not to Unix/Linux.

Let's see the next example at the command line:

[jimeno@chiquis jimeno]$ echo 'describe("plot"); all ;' > t.bat 
[jimeno@chiquis jimeno]$ maxima < t.bat

This sould display a long description list about all maxima's
"commands" related to `plot'; nontheles I believe this is not
actually usefull because I see no simple/elegant way to pass
extra parameters (v.g.: variable values) to the .bat file.

I hope some subscriber to the maxima mailing list have a better idea.

> If I have a file of macsyma commands, which in a maxima session I can
> batch, say test.bat, is it possible to call it from the command line
> in
> a a terminal window when I start up a maxima session? For instance,
> something of the sort "maxima test.bat". This does not work, nor other
> variations I have tried, but then again, I am not a unix wizard. I am
> using 5.6 on linux redhat 7.1.
> Thanks,
> Dick Fell