#!/bin/bash myJava=${myJava="java -Xmx1024M -cp /home/donaldb/bin/weka.jar "} myFilter=${myFilter="weka.filters.unsupervised.attribute.PKIDiscretize "} inFile=${inFile="-i" $1} myOpts=${myOpts="-R first-last -c last"} command=${command= $myJava $myFilter $inFile} $command > out.data prunejava out.data > out2.data cat out2.data rm out.data rm out2.data