Quote:
Originally posted by S.P.Prasad
Perhaps it could work out this way:
prog 1 | ./pipespy myfile.dat | prog2
The executable 'pipespy' should read the standard input and before writing the data to standard output store it within a file named 'myfile.dat'
S.P., what kind of a solution is that? You've restated the problem...
I'm wondering, jodders - are prog1.txt and prog2.txt actually scripts? Or do they just contain some data? Like norsk said, simple text files can't be executed. If these are scripts, then read up on the "chmod" command.