list= for i in *.c do b=`basename $i .c` if test ! -f $b.o then >$b.o list="$list $i" fi done : my SUN is too fast ... sleep 2 touch $list