#! /bin/sh [ -z ${com_sed} ] || [ -z ${com_date} ] && \ printf " -- This file is not meant to be run by hand. --\n" && \ exit 1 for input in *.in do printf "\tlib/${input%.in}\n" ${com_sed} 's,@@DATE_STRING@@,'"$(${com_date})"',' < ./${input} > ${input%.in} done