We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
$ echo ааабббггг | sed -E 's/ббб/жжж/g' $ ааабббггг
That is no substitute happens.
$ echo ааабббггг | sed -E 's/ббб/жжж/g' $ ааажжжггг <--- expected output
NOTE: the busybox sed work correctly: $ echo ааабббггг | busybox sed -E 's/ббб/жжж/g' $ ааажжжггг
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
The text was updated successfully, but these errors were encountered:
This is a duplicate of #6429 where we continue discussing.
Sorry, something went wrong.
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: