This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [grep] regression: Windows version grep not search two non ASCII words separated by space


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]