C:\Program Files (x86)\Geany\bin>chcp 65001
65001

C:\Program Files (x86)\Geany\bin>echo "Без названия" > "c:\666\example2.txt"

C:\Program Files (x86)\Geany\bin>grep -nHIiFR 'Без названия' C:\666

C:\Program Files (x86)\Geany\bin>grep -nHIiFR "Без названия" C:\666
C:\666/example2.txt:1:"▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"

C:\Program Files (x86)\Geany\bin>copy  "c:\666\example2.txt" con
"Без названия"
The handle is invalid.
        0 file(s) copied.

C:\Program Files (x86)\Geany\bin>echo Без названия > "c:\666\example2.txt"

C:\Program Files (x86)\Geany\bin>copy  "c:\666\example2.txt" con
Без названия
The handle is invalid.
        0 file(s) copied.

C:\Program Files (x86)\Geany\bin>grep -nHIiFR 'Без названия' C:\666

C:\Program Files (x86)\Geany\bin>grep -nHIiFR "Без названия" C:\666

C:\Program Files (x86)\Geany\bin>

Looks like enclosing the search argument in quotes(") is right way, but quotes should not consider as beginning and ending of searching string in Windows version grep utility.

14 01 2017 02-04-02-668


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.