getting arguments computed by a swi program from a bash shell

db <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hello,

(I am using swi-prolog 64 bits 6.5.1 under ubuntu 12.04)

I call a swi-prolog program from a bash shell.
This program computes values that I would like to
get from the shell.
How can I do this ?
(presently I use a file to write, but I think there is
  a simpler way).

Thanks a lot for your answers.

Dominique.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.