/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 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit d2d52addd50254d1b7c318c6784172d8d7de20c6 Author: Alexander Pyhalov <email@example.com> 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 <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>