Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2022 06:29:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264275] sed complaining about trailing backslash when using Umlauts
Message-ID:  <bug-264275-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264275

            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=3DC
LC_CTYPE=3Dde_DE.ISO8859-1
LC_COLLATE=3D"C"
LC_TIME=3D"C"
LC_NUMERIC=3D"C"
LC_MONETARY=3D"C"
LC_MESSAGES=3D"C"
LC_ALL=3D

> sed s/=C3=A4/ae/
sed: 1: "s/=C3=A4/ae/": RE error: trailing backslash (\)

> echo -n =C3=A4 | od -x
0000000      00e4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
0000001

Also affects characters like =C3=9F=C3=A7=C3=A1=C3=A0=C3=AE=C3=86

Does not happen with LC_CTYPE=3Dde_DE.UTF-8

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264275-227>