[Bug 264275] sed complaining about trailing backslash when using Umlauts

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 May 2022 06:29:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264275

            Bug ID: 264275
           Summary: sed complaining about trailing backslash when using
                    Umlauts
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: g.s@arcor.de

> locale
LANG=C
LC_CTYPE=de_DE.ISO8859-1
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

> sed s/ä/ae/
sed: 1: "s/ä/ae/": RE error: trailing backslash (\)

> echo -n ä | od -x
0000000      00e4                                                        
0000001

Also affects characters like ßçáàîÆ

Does not happen with LC_CTYPE=de_DE.UTF-8

-- 
You are receiving this mail because:
You are the assignee for the bug.