Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 357 Bytes
#!/bin/bash
# Version/Date
version=1.0
today=`date "+%B %d, %Y"`
# Date Changer
grep -ilr --exclude-dir=.git --exclude=revar.sh --exclude=README.md "[DATE]" * | xargs -i@ sed -i "s/\[DATE\]/${today}/g" @
# Version Changer
grep -ilr --exclude-dir=.git --exclude=revar.sh --exclude=README.md "[VERSION]" * | xargs -i@ sed -i "s/\[VERSION\]/${version}/g" @