3 CURRENT_YEAR
=`date +%Y`
4 let LAST_YEAR
=CURRENT_YEAR-1
5 MSG
="upgrading copyright year from $LAST_YEAR to $CURRENT_YEAR"
7 rgrep
-w -l -I "Copyright .*-$LAST_YEAR" .. |
xargs sed -i "s,-$LAST_YEAR,-$CURRENT_YEAR,g"
8 echo $MSG > ..
/.git
/GITGUI_BCK