> < ^ Date: Mon, 06 Oct 2003 06:51:17 -0500 (CDT)
> < ^ From: Luc Teirlinck <teirllm@dms.auburn.edu >
> < ^ Subject: Re: nohup

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 put

quit;

or 

QUIT;

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.


> < [top]