cp -p truc.xml truc.xml.$(date +%Y%m%d) && sed '/<start/ s/version="1.2.3.patch"/version="1.2.4.patch"/' truc.xml.$(date +%Y%m%d) > truc.xml

;) après faut adapter et scripter autour mais ça...