> < ^ Date: Fri, 22 Oct 1993 14:59:54 +0100
< ^ From: Eric J. Rossin <ejr@vonnegut.ee.cornell.edu >
> ^ Subject: Exec'ing from within GAP

dear forum-

I am hoping this is an obvious question...

I would like to "Exec" a command (under Unix), and somehow get
the result of the command back into GAP. E.g., say the result
of the GAP comand

Exec("prog < file");

returned a number, or even a list of numbers.
The question is, can I assign the result to a GAP variable?
It would even be OK if I could assign the result as a string
which I then parsed.

thank you,

-eric


> < [top]