#!/bin/bash script=$1 echo $script find . -name "$script" -exec sed -i "s=\(// @version[ ]*\)[0-9]*.[0-9]*.[0-9]*=\\1$(date -I'seconds')=g" {} \;