Re: turn off maxima command echo when I run a script in batch mode
Subject: Re: turn off maxima command echo when I run a script in batch mode
From: Wolfgang Jenkner
Date: Fri, 22 Apr 2005 16:35:21 +0200
Albert Reiner writes:
> [KC , Thu, 21 Apr 2005 02:43:33 +0800]:
>> For example, assume that I have a script call analysis.max, which will do
>> some analysis ... and I want "maxima -b analysis.max" only show the
>> me the final result of the analysis, not the detail procedure or steps
>> inside "analysis.max".
>
> Try load() and disp[lay]() the final result. I believe that worked
> for me.
As a variation on the theme, on the assumption that the `final result'
is actually computed by the very last line in the batch file (not even
followed by a comment) the following (sh quoting style) command line
avoids any "instrumentation" of the batch file
maxima --batch-string='batch("analysis.max"),ttyoff:true;%;'
This still shows the c-lines from before and after batching the file,
though.
Wolfgang