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.

UpdateCopyright.sh 334B

1234567
  1. #!/bin/sh
  2. # Update Copyright headers in all files.
  3. THISYEAR=`date +%Y`
  4. THISYEAR=$((${THISYEAR} + 1))
  5. find . -regextype posix-egrep -iregex '.*/(.*\.(java|sh|php|xml|dpr|nsh|html|htm)|dmdirc.license|DMDirc-Apple.c|DMDirc - MIT|copyright)$' -exec sed -i 's/\(Copyright.*\)2006-20[0-9][0-9]\(.*DMDirc.*\)/\12006-'${THISYEAR}'\2/' {} \;