Write script to update copyrights

This commit is contained in:
Jonathan "Duke" Leto
2022-09-19 15:49:44 -07:00
parent 5d2307a709
commit d5112907b4

9
util/update-copyrights.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Copyright (c) 2016-2022 The Hush developers
# Released under the GPLv3
# Usage: update-copyrights.sh 2021 2022
# TODO: verify $1 and $2 exist
# TODO: verify ack and xargs exist on this system
ack -l -i "201.-202.*Hush dev" | xargs ./util/replace.pl -$1 -$2