[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: announce-gen: Fix copyright year in --version output.
From: |
Bruno Haible |
Subject: |
Re: announce-gen: Fix copyright year in --version output. |
Date: |
Sun, 14 Jul 2024 05:53:50 +0200 |
Hi Collin,
> I've pushed the two attached patches to derive the copyright year from
> the time-stamp string.
> +(my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/;
Can this be rewritten in a simpler way, that does not use idioms
from perl's bag of tricks? Something like
my $copyright_year = <some_expression>;
like one would do it in every other programming language?
Thanks.
Bruno
- announce-gen: Fix copyright year in --version output., Collin Funk, 2024/07/13
- Re: announce-gen: Fix copyright year in --version output.,
Bruno Haible <=
- Re: announce-gen: Fix copyright year in --version output., Collin Funk, 2024/07/14
- Re: announce-gen: Fix copyright year in --version output., Simon Josefsson, 2024/07/14
- Re: announce-gen: Fix copyright year in --version output., Collin Funk, 2024/07/14
- Re: announce-gen: Fix copyright year in --version output., Simon Josefsson, 2024/07/16
- Re: announce-gen: Fix copyright year in --version output., Bruno Haible, 2024/07/16
- Re: announce-gen: Fix copyright year in --version output., Simon Josefsson, 2024/07/17
- Re: announce-gen: Fix copyright year in --version output., Bruno Haible, 2024/07/17
Re: announce-gen: Fix copyright year in --version output., Bruno Haible, 2024/07/17