V6/usr/bin/chk

: loop
if $1x = x exit
icheck $1
dcheck $1
shift
goto loop