I have a rather complex program where I need to pull in data from a website using loops, direct that data to an output file for calculations and then direct everything to another file for raw data which will then be used for a different program.
I understand there's a file redirection but I want to be sure I've got the procedure correct.
to make it easy, I'll call the first file: "loop1", second file: "calc1", third file: "out1"
To direct loop1 to calc1, I put this somewhere near the end of loop1 or at the beginning of calc1?
loop1 > calc1
Then, since calc1 will be for specific functions:
loop1 < calc1 > out1
What am I missing? I'm new at this and not sure of anything....