piping standard input to a program?

mike mdroz8 at gmail.com
Wed Jan 11 23:24:18 UTC 2006


so i have a program that takes standard input as input.  it's run from a
shell like so:

echo -e "blah blah blah" | <program> <options>

my question is how would i do this in like C/C++ code?  how do i in c/c++
take standard input and pipe it to this program as input?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20060111/86c2cbdf/attachment.htm>


More information about the Redhat-install-list mailing list