The RPG Maker Resource Kit

RMRK General => General Chat => Topic started by: machokis on March 20, 2007, 08:48:14 AM

Title: A question about linux and C programming
Post by: machokis on March 20, 2007, 08:48:14 AM
My question is about piping.

If i do this...(in the terminal)

#cat somefile.txt | ./myprogram (arguments)

Where/how in the world will the concatenated somefile.txt be stored in my program code?!?!

oh please do help me...thanks!
Title: Re: A question about linux and C programming
Post by: Crankeye on March 31, 2007, 06:46:10 PM
Heres a great article related to piping: http://wiki.linuxquestions.org/wiki/Pipe . That website basically explains it all. :D