#! /bin/sh # # Converts all *.c and *.h files except of paths.h # to use INC_X*() macros in include directives # #f=`echo *.c *.h | sed -e 's/paths\.h//'` f=`grep -l \/INC_XAW(\1)/g s//INC_XMU(\1)/g s//INC_X11(\1)/g ' $i.old > $i done echo "lit2inc_: Conversion done"