RFR: 1704: Add or update copyright header in some files
Magnus Ihse Bursie
ihse at openjdk.org
Fri Dec 2 00:30:22 UTC 2022
On Thu, 1 Dec 2022 23:34:47 GMT, Zhao Song <zsong at openjdk.org> wrote:
> The patch just updated copyright headers in some files.
For example, here are some one-liners I use to mass-update copyright years:
gt diff ${HASH}.. --name-only > ALLNAMES.txt
sed -i -e 's/Copyright (c) ([0-9]*), Oracle and/or its affiliates. All rights reserved./Copyright (c) \1, 2022, Oracle and/or its affiliates. All rights reserved./g' $(cat ALLNAMES.txt )
sed -i -e 's/Copyright (c) ([0-9]*), [0-9]*, Oracle and/or its affiliates. All rights reserved./Copyright (c) \1, 2022, Oracle and/or its affiliates. All rights reserved./g' $(cat ALLNAMES.txt )
-------------
PR: https://git.openjdk.org/skara/pull/1431
More information about the skara-dev
mailing list