#!/bin/sh for LEARN in 0.1 0.3 0.5 0.7 1.0 1.5 2.0 5.0 do export CFLAGS="-DLEARN_SPEED=$LEARN" make clean make nn echo "Start learning $LEARN..." ./nn | tee "test-learn-$LEARN.txt" done