awk -v progname=/etc/cron.weekly/makewhatis.cron progname { print progname ":\n" progname=""; } { print; }