https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664

--- Comment #25 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:17bffa0c9f90df49bde6671816bde04008b6c5af

commit r12-7554-g17bffa0c9f90df49bde6671816bde04008b6c5af
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Mar 8 17:40:48 2022 +0000

    contrib: Fix non-portable sed commands in gcc-descr [PR102664/]

    POSIX sed does not support \? or \+ in its Basic Regular Expression
    grammar. Replace the \(tags/\)\? part of the pattern with a substitution
    to remove ^tags/ before other substitutions. Replace \([0-9]\+\) with
    \([0-9][0-9]*\) or with \([1-9][0-9]*\) in release branch numbers, where
    a leading zero does not occur.

    contrib/ChangeLog:

            PR other/102664
            * git-descr.sh: Use portable sed commands.
            * git-undescr.sh: Likewise.

Reply via email to