The following script makes it a no-brainer:
% NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \
| xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
|
||
|---|---|---|
| .. | ||
| iso4127-commodities | ||
| non-profit-audit-reports | ||
| raw | ||
| bal | ||
| bal-huquq | ||
| compilation-ledger.el | ||
| CSVReader.cs | ||
| entry | ||
| getquote-uk.py | ||
| getquote.pl | ||
| ledger-completion.bash | ||
| ledger-du | ||
| Makefile | ||
| ParseCcStmt.cs | ||
| README | ||
| repl.sh | ||
| report | ||
| tc | ||
| ti | ||
| to | ||
| trend | ||
This scripts are provided just to give some ideas. They probably need to be modified to better suit your environment. Beware! John