On 2022-10-22 Dominique Dumont <d...@debian.org> wrote: > On Saturday, 22 October 2022 12:09:30 CEST you wrote: > > Thank you. This does not throw an error, but does not work as expected > > either: > > (sid)ametzler@argenau:/tmp/GUILE-GNUTLS/guile-gnutls-3.7.9$ cat > > debian/fix.scanned.copyright ! Files:"*" Copyright=~"s/, Free Software$/, > > Free Software Foundation, Inc./" > > (sid)ametzler@argenau:/tmp/GUILE-GNUTLS/guile-gnutls-3.7.9$ > > > debian/copyright && cme update dpkg-copyright > /dev/null 2>&1 > > (sid)ametzler@argenau:/tmp/GUILE-GNUTLS/guile-gnutls-3.7.9$ grep ', Free > > Software$' debian/copyright Copyright: 2007-2012, 2014-2016, 2019, 2021, > > 2022, Free Software > > Copyright: 2004, 2005, 2007-2009, 2011-2015, Free Software
> Hmm, Looking at guile-gnutls copyright file [1], I see that this entry is > correct: > Files: * > Copyright: 1985, 1986, 1988, 1990-2021, Free Software Foundation, Inc. > License: GPL-3+ > whereas the following entry is not: > Files: guile/modules/gnutls.in > Copyright: 2007-2012, 2014-2016, 2019, 2021, 2022, Free Software > License: LGPL-2.1+ > So, I assume you want to apply the instruction specified in > fix.scanned.copyright to change all copyright entries. > Which is not the case because > "! Files:"*"Copyright=~"s/, Free Software$/, Free Software Foundation, Inc./" > applies *only* on: > Files: * [ Way to do it snipped] I see. :-) Thank you very much for the handholding. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'