McKown, John wrote:
app in1 in2 in3 output.file would become app in1 in2 in3 /dev/fd/2 and I could do an fopen() on that, or just detect that as my convention and use file descriptor 3 directly. Stick me with a fork, I'm done!
Would look bizarre to an experienced user. These sorts of things are done frequently in Unix apps. You should * look at how the shells works to obviate most of this complexity * look at the io and file classes in Java * look at the 'tee' command in Unix before you consider your application design finalized. -- Jack J. Woehr # «'I know what "it" means well enough, when I find http://www.well.com/~jax # a thing,' said the Duck: 'it's generally a frog or http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in Wonderland_ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390