: # Copyright (c) 2002-2016, Dirk Krause. All rights reserved. # SPDX-License-Identifier: BSD-3-Clause for i in *.h do found=no j=`echo $i | sed -e 's/\.h/.ctr/g'` if [ -f $j ] then grep -q '%%[[:space:]]*header' $j && found=yes fi j=`echo $i | sed -e 's/\.h/.cpt/g'` if [ -f $j ] then grep -q '%%[[:space:]]*header' $j && found=yes fi j=`echo $i | sed -e 's/\.h/.wxc/g'` if [ -f $j ] then grep -q '%%[[:space:]]*header' $j && found=yes fi if [ "X$found" = "Xno" ] then echo $i fi done