Is there an alternative to sed that supports unicode?
43
votes
7
answers
28740
views
For example:
sed 's/\u0091//g' file1
Right now, I have to do
hexdump
to get hex number and put into sed
as follows:
$ echo -ne '\u9991' | hexdump -C
00000000 e9 a6 91 |...|
00000003
And then:
$ sed 's/\xe9\xa6\x91//g' file1
Asked by A-letubby
(709 rep)
Apr 17, 2015, 08:38 AM
Last activity: Jun 21, 2021, 09:54 PM
Last activity: Jun 21, 2021, 09:54 PM