Re: [opencog-dev] Re: How to write results from guile shell to a file?

2017-04-06 Thread Linas Vepstas
That's exactly it! --linas On Thu, Apr 6, 2017 at 1:19 PM, Vishnu Priya wrote: > > I tried like this and it worked !! :-) > > echo -e "(define out (open-output-file \"/opt/opencog/file.txt\"))\n(write >> (nlp-parse \"hello world.\") out)\n(close-output-port out)\n" | nc >> localhost 17004 >>

[opencog-dev] Re: How to write results from guile shell to a file?

2017-04-06 Thread Vishnu Priya
I tried like this and it worked !! :-) echo -e "(define out (open-output-file \"/opt/opencog/file.txt\"))\n(write > (nlp-parse \"hello world.\") out)\n(close-output-port out)\n" | nc > localhost 17004 > Cheers, Vishnu -- You received this message because you are subscribed to the Google G