[grep] regression: Windows version grep not search two non ASCII words separated by space
Brian Inglis
Brian.Inglis@SystematicSw.ab.ca
Tue Jan 31 17:12:00 GMT 2017
On 2017-01-31 06:08, ÐиÑ
аил ÐавÑилов wrote:
> Windows version grep not search two non ASCII words separated by space
> More details described here: https://github.com/geany/geany/issues/1366
> Last workable version is 2.24
WJFFM with your name (above) on current Cygwin, mintty, bash, grep (below).
A number of UTF-8 updates have been made recently to Cygwin and utilities.
Your grep version looks old - try upgrading your whole installation.
Are you having a problem under cmd or other shell?
Which shell and release?
$ uname -srvmo; mintty --version; bash --version; grep --version
CYGWIN_NT-10.0 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin
mintty 2.7.4 (x86_64-pc-cygwin)
© (C) 2013/2016 Andy Koppe / Thomas Wolff
License GPLv3+: GNU GPL version 3 or later
There is no warranty, to the extent permitted by law.
GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
grep (GNU grep) 2.27
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
$ echo "ÐиÑ
аил ÐавÑилов" > t
$ for cmd in fgrep grep egrep
do
$cmd --version
echo "ÐиÑ
аил ÐавÑилов" | $cmd "ÐиÑ
аил ÐавÑилов"
$cmd "ÐиÑ
аил ÐавÑилов" t
done
ÐиÑ
аил ÐавÑилов
ÐиÑ
аил ÐавÑилов
ÐиÑ
аил ÐавÑилов
ÐиÑ
аил ÐавÑилов
ÐиÑ
аил ÐавÑилов
ÐиÑ
аил ÐавÑилов
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list