Hello, Can anyone with some decent sed/awk/bash skills please tell me how I do some magic in a specfile: 1) replace "%define cvsdate <date in past>" with "%define cvsdate <today's date>" 2) add the following lines after a line "%changelog" "* Thu May 8 2003 me <me@xxxxxx> - autorebuild" Thanks! Patrick