Ok so i'm stuck again... I have to write a script that takes in a dir (full of test files), and one by one passes those test files into two different programs... then it has to compare the output from those two programs using diff.... i'm not really sure how to pass the files to the programs and then how to save thier output into new files.... any help would be great! it's gonna be a long night....