# # loop over all header files looking for the string, # # creates list of all *.h files for FILEN in *.h do #BNAME=`basename $FILEN .c` #BNAME= $FILEN echo $FILEN #cp $BNAME.c bak/$BNAME.bak #sed -f swapstring.sed < ${BNAME}.c > temp.xx #sed -f command.sed < ${BNAME}.c > temp.xx done