[GE users] Piping stdin to app

Andy Schwierskott andy.schwierskott at sun.com
Thu Sep 30 12:58:19 BST 2004


John,

only qrsh can take data from stdin.

    echo blah | qrsh  .....

Andy

> 	OK - real question this time...:)
>
> 	I have incoming data in stdin and I want to pipe this to an app 'foo' as
> data, as in:
>
> 	cat - | foo
>
> 	What I would like to do is pipe this data to qsub, which will redirect that
> data flow to the app and submit it to grid.  This following example doesn't
> work, but something like:
>
> 	qsub -b y cat - | foo
>
> 	I'm trying to avoid writing this data stream out to a tmp file then reading
> it back in again later - they can get quite large.
>
> 	Is this possible?
>
> 	Thanks,
>
> 	J.C.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list