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