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 Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/460f5996-fedf-4f32-813d-0a731641db21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to