I wanna run a program 'program', with 'input.dat' as input data, and output 'output.dat'
1, named pipe $ mkfifo fifo $ cat input.dat > fifo $ program fifo -output output.dat 2, unnamed pipe cat < input.dat | xargs program -output output.dat - so do they both work? and give same result? - what if the 'program' cannot read input from stdin? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---
