Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sed and xentools413



In article <20210308152211.os2woq5ipxfpt2kw%yt.nih.at@localhost>,
Thomas Klausner  <wiz%NetBSD.org@localhost> wrote:
>On Mon, Mar 08, 2021 at 03:13:48PM +0000, Patrick Welche wrote:
>> I'm assuming a WORKSFORME response for xentools413, so wondering
>> whether something changed in -current sed that would explain the
>> above.
>
>Haven't tried it yet, but perhaps this changed the sed behavior as well:
>
>Module Name:    src
>Committed By:   christos
>Date:           Tue Feb 23 22:14:59 UTC 2021
>
>Modified Files:
>        src/lib/libc/regex: cname.h engine.c re_format.7 regcomp.c regerror.c
>            regex.3 regex2.h regexec.c regfree.c utils.h
>Removed Files:
>        src/lib/libc/regex: cclass.h
>
>Log Message:
>sync with FreeBSD:
>    - NLS support
>    - GNU extensions
>    - bug fixes

Yes, we can turn on REG_GNU in regcomp in sed to support \s so that it behaves
like gnused. Before it was silently ignoring the backslash.

christos



Home | Main Index | Thread Index | Old Index