Hi,

        You can implement this (and much much more) by reading:

- http://www.dest-unreach.org/socat/

- man bash

In the UNIX philosophy, it's Moses's responsibility to be awesome at
going from stdin to stdout, some other tool's responsibility to do
things with stdin and stdout, and your responsibility to mix them.

Read up on socat and you can make Moses be a TCP server or UNIX socket
server.  Read man bash and you can do everything you're asking for.

Kenneth

On 10/15/2015 01:54 PM, Apurva Joshi wrote:
> my logic is
> 
> load moses.ini
> give input word (eg "hello") through stdin
> redirect translated op from stdout to txt file...
> again user ask wanna continue?? if yes...gv ip...and above process
> repeats ...otherwise...stop
> 
> 
> 
> how can i write this through shell script....
> 
> pllzzzzz help
> and
> reply on same id
>  
> [email protected] <mailto:[email protected]>
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to