#!/bin/sh rm *.err *.c *.glb *.h for a in *.4gl do if 4glc $a then mv $a ok cat /dev/null > $a echo "OK $a" fi done