/usr/bin/grep can't handle multibyte characters
Grep doesn't work correctly with non-english text.
For example, I can't grep for cyrillic "а" character.
$ cat ~/tmp/test абвгдеёжзийклмнопрстуфхцчшщъыьэюя АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ $ /usr/bin/grep -i а ~/tmp/test grep: RE error 67: Illegal byte sequence
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit d2d52addd50254d1b7c318c6784172d8d7de20c6 Author: Alexander Pyhalov <firstname.lastname@example.org> Date: 2018-01-09T19:12:32.000Z 8858 /usr/bin/grep doesn't support -E option 4580 /usr/bin/grep can't handle multibyte characters 8929 8868 tests are not delivered with system/test/utiltest 8860 Example in grep(1) is incorrect Reviewed by: Peter Tribble <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>