Gap forum
Marcus Bishop wrote:
When I write a program called myprogram.g and execute it with
gap myprogram.g
the gap prompt returns after gap finishes reading myprogram.g
in spite of that I putquit;
orQUIT;
in the last line of myprogram.g. Apparently Read ignores
the quit command?
It does not ignore it. `quit' in a file means to quit reading the
file.
Does anyone know how to run gap noninteractivly?
Assuming you are running a Unix-style operating system:
gap -b < myprogram.g >> mylogfile
Instead of -b you might prefer -q if you do not want prompts.
Sincerely,
Luc.
Miles-Receive-Header: reply