From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 973741F47C for ; Wed, 11 Jan 2023 05:20:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFTWz-0005CD-5c; Wed, 11 Jan 2023 00:20:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFTWw-0005Bh-Sk for bug-gnulib@gnu.org; Wed, 11 Jan 2023 00:20:06 -0500 Received: from mail-lj1-f179.google.com ([209.85.208.179]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFTWv-0007OH-Bf for bug-gnulib@gnu.org; Wed, 11 Jan 2023 00:20:06 -0500 Received: by mail-lj1-f179.google.com with SMTP id bx6so14921262ljb.3 for ; Tue, 10 Jan 2023 21:20:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NRKcXkVUS/ICEVE+Dj/BhBU1wsQQ+Y+Hc+gGxh/0eIE=; b=a4drr01NGX4bcRZ7dZPIKdiUIUdF83MEMX5PzpHb/OOvfqIoe6/9qtCStJqL9A3Fbq zOQIx7HOvc6TKee8aA8hZjPq5o4LSgZpjjqmllb4330qziab5Kg61Z8w0YZyUr+3Fkjs dVoCamVTxLHJH7YVcJizNDNT99MrZ1tAngSavy1syWJR7Jdesbkt6cO83WmKJoLghre1 gezMdlFWJ6jVrh86buxXFiQAiVk1WutzYOtlbBMU6d/Z3lvqTgcEQIw2YqiXMJv2L/5S pIoPjlwdC57dZ6Wi0eJH2gx8faqmsqLaYrh8M+i+MmvYG88yihiF9Bz5E8KnPNyooHDz 0pnw== X-Gm-Message-State: AFqh2krWORghnrxO2V/NfuPpo4oVF8oidC6zXDyXgufFjYA52zlZeKId H6LpEzTglCAdHYUyCrXFHb2w0p7cR0m1VZePf1y2u39E X-Google-Smtp-Source: AMrXdXslLcHYIVZM73VRAe1xsvWNEZKiOGzrgekbm16qBHMgX8UxohVN0wp/bj1KdfSUg3huKRQ9YOEr5ucsQLuLbJs= X-Received: by 2002:a2e:90d2:0:b0:27f:f22d:afe9 with SMTP id o18-20020a2e90d2000000b0027ff22dafe9mr2749266ljg.404.1673414402152; Tue, 10 Jan 2023 21:20:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Meyering Date: Tue, 10 Jan 2023 21:19:49 -0800 Message-ID: Subject: Re: FYI: update-copyright: also work with two or more updatable lines To: bug-gnulib@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.208.179; envelope-from=meyering@gmail.com; helo=mail-lj1-f179.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.096, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org On Tue, Jan 10, 2023 at 8:37 PM Jim Meyering wrote: > FYI, I've just pushed this fix. > I noticed this bug when attempting to update gzip's copyright dates. > It has a few files with two copyright lines. > The old version of this script would update only the first one. For the record, that fix adds coverage for lines with identical year lists. This script still does not work for gzip's case in which the year lists are different.