t=$1; # the training file is argument 1 T=$2; # the test file is argument 2 shift 2 # the other args are for the learner $wEka $* -t $t -T $T