bug#22059: grep -E: unexpected behaviour

2015-11-30 Thread Charles
As expected: # grep -E 'udisksd\[[[:digit:]]+\]: The string .* ' /var/log/syslog.1 Nov 30 07:16:38 CW8 udisksd[2650]: The string `TSSTcorp CDDVDW SHQeò? ±?¾MUæíE³èBãÄL' is not valid UTF-8. Invalid characters begins at `eò? ±?¾MUæíE³èBãÄL' Nov 30 07:16:38 CW8 udisksd[2650]: The string `TSSTcorp C

bug#22059: grep -E: unexpected behaviour

2015-11-30 Thread Paul Eggert
On 11/29/2015 08:57 PM, Charles wrote: Apparently grep silently stops processing when it encounters the invalid UTF-8: The regular expression "." matches a single character, and ".*" matches a string of characters. In your example, there is an encoding error, and encoding errors are not chara