You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678 |
- #!/bin/sh
- # Update Copyright headers in all files.
-
- THISYEAR=`date +%Y`
- THISYEAR=$((${THISYEAR} + 1))
-
- find . -regextype posix-egrep -iregex '.*\.(java|sh|php|xml)$' -exec sed -i 's/\(Copyright.*\)2006-20[0-9][0-9]/\12006-'${THISYEAR}'/' {} \;
|