JSDIR="./www/js" echo "1. Combining Javascript" # Combine all the javascript to a single temporary file cat $JSDIR/mootools-1.2-core.js \ $JSDIR/mootools-1.2-more.js \ $JSDIR/functions.js \ $JSDIR/common.js > $JSDIR/tmp.js