On 2023-06-18 12:06, Bruno Haible wrote:
Well, coreutils has a number of them:$ grep -r 'Free' coreutils/man/|grep '"' coreutils/man/df.x:'\" Copyright (C) 1998-2022 Free Software Foundation, Inc.
Those file names end in ".x" so update-copyright will continue to use "-" on them. And they're tricky anyway, as their copyright notices are stripped before using.
If this turns into a real problem we could install something like the attached. It might be better to wait until we see the problem, though, since it's a tricky area.
From f8c39abfddc373e290fc8bf7adee14b70566e2f1 Mon Sep 17 00:00:00 2001 From: Paul Eggert <egg...@cs.ucla.edu> Date: Tue, 20 Jun 2023 11:10:17 -0700 Subject: [PATCH] update-copyright: use "-" in man page comments Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2023-06/msg00096.html * build-aux/update-copyright: In man pages use "-", not "\(en", in commented-out copyright notices --- ChangeLog | 8 ++++++++ build-aux/update-copyright | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fdafa76a45..45fe3d0107 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-06-20 Paul Eggert <egg...@cs.ucla.edu> + + update-copyright: use "-" in man page comments + Problem reported by Bruno Haible in: + https://lists.gnu.org/r/bug-gnulib/2023-06/msg00096.html + * build-aux/update-copyright: In man pages use "-", not "\(en", + in commented-out copyright notices + 2023-06-19 Paul Eggert <egg...@cs.ucla.edu> largefile: port to GNU/Linux s390x and alpha diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 0343eaa72c..3908c4fb6e 100755 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -138,7 +138,7 @@ eval 'exec perl -wSx -0777 -pi "$0" "$@"' if 0; -my $VERSION = '2023-06-18.01:14'; # UTC +my $VERSION = '2023-06-20.17:26'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -238,7 +238,9 @@ if (defined $stmt_re) else { my $ndash = ($ARGV =~ /\.tex(i(nfo)?)?$/ ? "--" - : $ARGV =~ /\.(\d[a-z]*|man)$/ ? "\\(en" + : ($ARGV =~ /\.(\d[a-z]*|man)$/ + && $prefix !~ /^[.']$ws_re*\\"/) + ? "\\(en" : "-"); $stmt =~ -- 2.39.2