J
Jeff Kish
Hi.
Is it possible to write a java app that you could use to grab a stream of data
on the console and output it again, possibly to another app that you could
then chain together?
If so how would you go about writing and invoking this?
For example, if I run a program that sends data to the console, say grep
"<tag" *.xml,
I'd like to be able to do "something" like:
grep "<tag" *.xml | someWayToInvokeSomeJavaProgram
| someWayToInvokeSomeJavaProgram2
so that the output can go through two transformations.
Thanks
Jeff Kish
Is it possible to write a java app that you could use to grab a stream of data
on the console and output it again, possibly to another app that you could
then chain together?
If so how would you go about writing and invoking this?
For example, if I run a program that sends data to the console, say grep
"<tag" *.xml,
I'd like to be able to do "something" like:
grep "<tag" *.xml | someWayToInvokeSomeJavaProgram
| someWayToInvokeSomeJavaProgram2
so that the output can go through two transformations.
Thanks
Jeff Kish