Tags » Raffaello

Use cat output in another program with pipe in C

I want to run: cat somefile | program > outputText in a UNIX system.

I have looked at many things such as pipe, using popen, dup2, etc; I am lost. 227 more words

Stackoverflow

Use cat output in another program with pipe in C

I want to run: cat somefile | program > outputText in a UNIX system.

I have looked at many things such as pipe, using popen, dup2, etc; I am lost. 44 more words

Stackoverflow