Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: [package] sed 4.8 - does not work with UTF-8 characters #7916

Closed
Balamoote opened this issue Nov 2, 2021 · 1 comment
Closed

[Bug]: [package] sed 4.8 - does not work with UTF-8 characters #7916

Balamoote opened this issue Nov 2, 2021 · 1 comment
Labels
bug report Something is not working properly

Comments

@Balamoote
Copy link

Problem description

The termux 'sed' GNU sed v.4.8 does not see UTF-8 characters.
Note: the busybox sed v.4.0 (not GNU sed) works without problem

What steps will reproduce the bug?

$ echo ааабббггг | sed -E 's/ббб/жжж/g'
$ ааабббггг

That is no substitute happens.

What is the expected behavior?

$ echo ааабббггг | sed -E 's/ббб/жжж/g'
$ ааажжжггг <--- expected output

NOTE: the busybox sed work correctly:
$ echo ааабббггг | busybox sed -E 's/ббб/жжж/g'
$ ааажжжггг

System information

termux-info:

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.mentality.rip/termux-main/ stable main
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
Updatable packages:
All packages up to date
Android version:
11
Kernel build information:
Linux localhost 4.19.125-perf+ #1 SMP PREEMPT Wed Sep 8 19:53:59 CST 2021 aarch64 Android
Device manufacturer:
OnePlus
Device model:
LE2100
@Balamoote Balamoote added the bug report Something is not working properly label Nov 2, 2021
@xtkoba
Copy link
Contributor

xtkoba commented Nov 2, 2021

This is a duplicate of #6429 where we continue discussing.

@ghost ghost closed this as completed Nov 2, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly
Projects
None yet
Development

No branches or pull requests

2 participants