I have multiple octave scripts, that I need to execute in order. The 2nd script is dependent upon the first script, so it must wait for the first script to complete. I'd also like to pass in 2 arguments from the command line. The following script, though, does not wait for the first script before executing the second. How can I correct this?
EXP_ID = $1;
NUM_FEATURES = $2;
cd fisher;
octave computeFisherScore-AG.m $EXP_ID;
cd ..;
octave predictability-AG.m $EXP_ID $NUM_FEATURES;
#! bin/octaveas shebang line, and giving it execute permissions?