* grep 3.0-2 not stripping CRs on Windows
@ 2018-12-17 11:10 Ondřej Surý
2018-12-17 11:41 ` Marco Atzeri
2018-12-17 23:37 ` Andrey Repin
0 siblings, 2 replies; 10+ messages in thread
From: Ondřej Surý @ 2018-12-17 11:10 UTC (permalink / raw)
To: cygwin
Hi,
the grep package in version 3.0-2 fails to strip CR characters from the input, the reproducer is fairly simple:
```
$ echo -e 'foo\r\n' | grep -a 'foo$'
$
```
Perhaps the grep fails to detect it’s running on Windows because of cygwin emulates Linux so well? :)
This contradicts the manpage that says:
```
-U, --binary
Treat the file(s) as binary. By default, under MS-DOS and MS-Windows, grep guesses whether a file is text or binary as described for the
--binary-files option. If grep decides the file is a text file, it strips the CR characters from the original file contents (to make regular
expressions with ^ and $ work correctly). Specifying -U overrules this guesswork, causing all files to be read and passed to the matching
mechanism verbatim; if the file is a text file with CR/LF pairs at the end of each line, this will cause some regular expressions to fail.
This option has no effect on platforms other than MS-DOS and MS-Windows.
```
And it’s a regression from previous behaviour, and unfortunately, this change breaks some existing scripts.
Thanks,
Ondrej
$ grep --version
grep (GNU grep) 3.0
Packaged by Cygwin (3.0-2)
Copyright (C) 2017 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>.
$ cygcheck -s -v -r
Cygwin Configuration Diagnostics
Current System Time: Mon Dec 17 10:59:36 2018
Windows 2012 R2 Server Standard Ver 6.3 Build 9600
Path: C:\cygwin64\usr\local\bin
C:\cygwin64\bin
C:\cygwin64\bin
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\ProgramData\Oracle\Java\javapath
C:\Python33
C:\Perl64\site\bin
C:\Perl64\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\dotnet
C:\Program Files\Java\jre1.8.0_101\bin\
Output from C:\cygwin64\bin\id.exe
UID: 197621(jenkins)
GID: 513(None)
513(None)
114(Local account and member of Administrators group)
0(root)
545(Users)
559(Performance Log Users)
4(INTERACTIVE)
66049(CONSOLE LOGON)
11(Authenticated Users)
15(This Organization)
113(Local account)
4095(CurrentSession)
262154(NTLM Authentication)
405504(High Mandatory Level)
SysDir: C:\Windows\system32
WinDir: C:\Windows
USER = 'jenkins'
PWD = '/home/jenkins'
HOME = '/home/jenkins'
CYGWIN = 'binmode ntsec'
USERDOMAIN = 'NEWBUILD'
OS = 'Windows_NT'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
CommonProgramW6432 = 'C:\Program Files\Common Files'
SSH_CONNECTION = '149.20.48.19 35621 149.20.57.151 22'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
FP_NO_HOST_CHECK = 'NO'
LANG = 'en_US.UTF-8'
TZ = 'America/Los_Angeles'
CommonProgramFiles = 'C:\Program Files\Common Files'
HOSTNAME = 'newbuild'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/home/jenkins'
USERNAME = 'jenkins'
LOGONSERVER = '\\NEWBUILD'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\jenkins\AppData\Local'
COMPUTERNAME = 'NEWBUILD'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\jenkins'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\Windows'
USERDOMAIN_ROAMINGPROFILE = 'NEWBUILD'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 62 Stepping 4, GenuineIntel'
TMP = '/tmp'
SSH_CLIENT = '149.20.48.19 35621 22'
PROCESSOR_REVISION = '3e04'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '2'
ProgramW6432 = 'C:\Program Files'
SSH_TTY = '/dev/pty1'
MAIL = '/var/spool/mail//jenkins'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\jenkins\AppData\Roaming'
TERM = 'linux'
SHELL = '/bin/bash'
WINDIR = 'C:\Windows'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PRINTER = 'Microsoft XPS Document Writer'
PROGRAMFILES = 'C:\Program Files'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
LOGNAME = 'jenkins'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
WIX = 'C:\Program Files (x86)\WiX Toolset v3.8\'
HOMEDRIVE = 'C:'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\cygwin64\home\jenkins'
ORIGINAL_PATH = '/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Python33:/cygdrive/c/Perl64/site/bin:/cygdrive/c/Perl64/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files/dotnet'
EXECIGNORE = '*.dll'
VS140COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\'
VS110COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
(default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
(default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
(default) = 'C:\cygwin64'
obcaseinsensitive set to 1
Cygwin installations found in the registry:
System: Key: e022582115c10879 Path: C:\cygwin64
User: Key: e022582115c10879 Path: C:\cygwin64
a: fd N/A N/A
c: hd NTFS 511646Mb 63% CP CS UN PA FC QU
d: cd N/A N/A
C:\cygwin64 / system binary,auto
C:\cygwin64\bin /usr/bin system binary,auto
C:\cygwin64\lib /usr/lib system binary,auto
cygdrive prefix /cygdrive user binary,posix=0,auto
Found: C:\cygwin64\bin\awk
Found: C:\cygwin64\bin\awk
-> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cp.exe
Found: C:\cygwin64\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin64\bin\find.exe
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\Windows\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\cygwin64\bin\ld.exe
Found: C:\cygwin64\bin\ld.exe
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\bin\make.exe
Found: C:\cygwin64\bin\make.exe
Found: C:\cygwin64\bin\mv.exe
Found: C:\cygwin64\bin\mv.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\cygwin64\bin\perl.exe
Found: C:\Perl64\bin\perl.exe
Warning: C:\cygwin64\bin\perl.exe hides C:\Perl64\bin\perl.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\vi.exe
Found: C:\cygwin64\bin\vi.exe
Found: C:\cygwin64\bin\vim.exe
Found: C:\cygwin64\bin\vim.exe
626k 2017/10/27 C:\cygwin64\bin\cygarchive-13.dll - os=4.0 img=0.0 sys=5.2
"cygarchive-13.dll" v0.0 ts=2017-10-27 03:12
39k 2016/09/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
"cygargp-0.dll" v0.0 ts=2016-09-19 02:13
2568k 2013/06/23 C:\cygwin64\bin\cygasn1-8.dll - os=4.0 img=0.0 sys=5.2
"cygasn1-8.dll" v0.0 ts=2013-06-23 06:23
16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
"cygattr-1.dll" v0.0 ts=2013-03-26 18:26
180k 2015/03/23 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
"cygblkid-1.dll" v0.0 ts=2015-03-23 09:46
64k 2017/02/22 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
"cygbz2-1.dll" v0.0 ts=2017-02-22 07:22
13k 2013/03/06 C:\cygwin64\bin\cygcatgets1.dll - os=4.0 img=0.0 sys=5.2
"cygcatgets1.dll" v0.0 ts=2013-03-06 14:34
13k 2015/03/19 C:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
"cygcom_err-2.dll" v0.0 ts=2015-03-19 02:44
39k 2017/09/03 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
"cygcrypt-0.dll" v0.0 ts=2017-09-03 08:18
2346k 2018/08/27 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
"cygcrypto-1.0.0.dll" v0.0 ts=2018-08-27 18:14
507k 2018/03/15 C:\cygwin64\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
"cygcurl-4.dll" v0.0 ts=2018-03-15 16:22
1552k 2017/09/28 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb-5.3.dll" v0.0 ts=2017-09-28 20:05
119k 2017/09/28 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 20:06
569k 2017/09/28 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 20:06
154k 2013/10/20 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
"cygedit-0.dll" v0.0 ts=2013-10-20 21:56
181k 2018/09/27 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
"cygexpat-1.dll" v0.0 ts=2018-09-27 18:30
27k 2015/11/17 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
"cygffi-6.dll" v0.0 ts=2015-11-17 22:14
252k 2018/02/13 C:\cygwin64\bin\cygfontconfig-1.dll - os=4.0 img=0.0 sys=5.2
"cygfontconfig-1.dll" v0.0 ts=2018-02-13 04:08
65k 2017/12/05 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
"cygformw-10.dll" v0.0 ts=2017-12-05 08:15
654k 2018/03/20 C:\cygwin64\bin\cygfreetype-6.dll - os=4.0 img=0.0 sys=5.2
"cygfreetype-6.dll" v0.0 ts=2018-03-20 03:29
122k 2018/08/15 C:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
"cyggc-1.dll" v0.0 ts=2018-08-14 15:35
70k 2018/06/26 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
"cyggcc_s-seh-1.dll" v0.0 ts=2018-06-26 17:17
39k 2016/10/10 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
"cyggdbm-4.dll" v0.0 ts=2016-10-10 09:26
13k 2016/10/10 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
"cyggdbm_compat-4.dll" v0.0 ts=2016-10-10 09:26
527k 2017/01/21 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
"cyggmp-10.dll" v0.0 ts=2017-01-21 18:25
938k 2017/05/02 C:\cygwin64\bin\cyggnutls-28.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-28.dll" v0.0 ts=2017-05-02 22:06
1207k 2018/03/15 C:\cygwin64\bin\cyggnutls-30.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-30.dll" v0.0 ts=2018-03-15 23:08
24k 2017/05/02 C:\cygwin64\bin\cyggnutls-openssl-27.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-openssl-27.dll" v0.0 ts=2017-05-02 22:06
2247k 2013/06/23 C:\cygwin64\bin\cyggssapi-3.dll - os=4.0 img=0.0 sys=5.2
"cyggssapi-3.dll" v0.0 ts=2013-06-23 06:31
274k 2018/03/16 C:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
"cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:38
1333k 2018/08/07 C:\cygwin64\bin\cygguile-2.0-22.dll - os=4.0 img=0.0 sys=5.2
"cygguile-2.0-22.dll" v0.0 ts=2018-08-07 08:10
101k 2013/06/23 C:\cygwin64\bin\cygheimbase-1.dll - os=4.0 img=0.0 sys=5.2
"cygheimbase-1.dll" v0.0 ts=2013-06-23 06:20
135k 2013/06/23 C:\cygwin64\bin\cygheimntlm-0.dll - os=4.0 img=0.0 sys=5.2
"cygheimntlm-0.dll" v0.0 ts=2013-06-23 06:28
33k 2017/02/13 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
"cyghistory7.dll" v0.0 ts=2017-02-11 22:39
167k 2016/03/13 C:\cygwin64\bin\cyghogweed-2.dll - os=4.0 img=0.0 sys=5.2
"cyghogweed-2.dll" v0.0 ts=2016-03-13 14:46
163k 2018/03/15 C:\cygwin64\bin\cyghogweed-4.dll - os=4.0 img=0.0 sys=5.2
"cyghogweed-4.dll" v0.0 ts=2018-03-16 00:07
1412k 2013/06/23 C:\cygwin64\bin\cyghx509-5.dll - os=4.0 img=0.0 sys=5.2
"cyghx509-5.dll" v0.0 ts=2013-06-23 06:24
1009k 2015/02/20 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
"cygiconv-2.dll" v0.0 ts=2015-02-20 17:07
197k 2017/05/02 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
"cygidn-11.dll" v0.0 ts=2017-05-02 01:18
111k 2017/09/25 C:\cygwin64\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
"cygidn2-0.dll" v0.0 ts=2017-09-25 03:16
42k 2016/10/23 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
"cygintl-8.dll" v0.0 ts=2016-10-23 07:17
192k 2018/03/16 C:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
"cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:37
159k 2013/06/23 C:\cygwin64\bin\cygkafs-0.dll - os=4.0 img=0.0 sys=5.2
"cygkafs-0.dll" v0.0 ts=2013-06-23 06:28
3287k 2013/06/23 C:\cygwin64\bin\cygkrb5-26.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5-26.dll" v0.0 ts=2013-06-23 06:27
754k 2018/03/16 C:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5-3.dll" v0.0 ts=2018-03-16 03:37
37k 2018/03/16 C:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:36
45k 2015/11/19 C:\cygwin64\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cyglber-2-4-2.dll" v0.0 ts=2015-11-19 14:17
246k 2015/11/19 C:\cygwin64\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cygldap-2-4-2.dll" v0.0 ts=2015-11-19 14:18
262k 2015/11/19 C:\cygwin64\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cygldap_r-2-4-2.dll" v0.0 ts=2015-11-19 14:19
6k 2018/11/08 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
"cyglsa64.dll" v0.0 ts=2018-11-08 13:34
35k 2018/05/29 C:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
"cygltdl-7.dll" v0.0 ts=2018-05-29 15:34
73k 2017/06/19 C:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
"cyglz4-1.dll" v0.0 ts=2017-06-19 15:40
139k 2017/05/10 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
"cyglzma-5.dll" v0.0 ts=2017-05-10 01:17
129k 2017/10/05 C:\cygwin64\bin\cyglzo2-2.dll - os=4.0 img=0.0 sys=5.2
"cyglzo2-2.dll" v0.0 ts=2017-10-05 19:40
125k 2018/03/18 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
"cygmagic-1.dll" v0.0 ts=2018-03-18 15:17
168k 2018/01/23 C:\cygwin64\bin\cygman-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
"cygman-2-7-6-1.dll" v0.0 ts=2018-01-23 20:22
22k 2018/01/23 C:\cygwin64\bin\cygmandb-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
"cygmandb-2-7-6-1.dll" v0.0 ts=2018-01-23 20:22
33k 2017/12/05 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
"cygmenuw-10.dll" v0.0 ts=2017-12-05 08:15
346k 2017/11/04 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
"cygmpfr-4.dll" v0.0 ts=2017-11-04 18:48
432k 2018/07/28 C:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
"cygmpfr-6.dll" v0.0 ts=2018-07-28 20:18
317k 2017/12/05 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
"cygncursesw-10.dll" v0.0 ts=2017-12-05 08:13
180k 2016/03/13 C:\cygwin64\bin\cygnettle-4.dll - os=4.0 img=0.0 sys=5.2
"cygnettle-4.dll" v0.0 ts=2016-03-13 14:46
207k 2018/03/15 C:\cygwin64\bin\cygnettle-6.dll - os=4.0 img=0.0 sys=5.2
"cygnettle-6.dll" v0.0 ts=2018-03-16 00:07
140k 2018/03/16 C:\cygwin64\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
"cygnghttp2-14.dll" v0.0 ts=2018-03-16 02:04
1019k 2018/04/09 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
"cygp11-kit-0.dll" v0.0 ts=2018-04-09 01:55
15k 2017/12/05 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
"cygpanelw-10.dll" v0.0 ts=2017-12-05 08:14
475k 2017/04/23 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
"cygpcre-1.dll" v0.0 ts=2017-04-24 00:50
2021k 2016/04/30 C:\cygwin64\bin\cygperl5_22.dll - os=4.0 img=0.0 sys=5.2
"cygperl5_22.dll" v0.0 ts=2016-04-30 16:05
2209k 2018/12/01 C:\cygwin64\bin\cygperl5_26.dll - os=4.0 img=0.0 sys=5.2
"cygperl5_26.dll" v0.0 ts=2018-12-01 07:22
39k 2015/04/09 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
"cygpipeline-1.dll" v0.0 ts=2015-04-09 21:04
200k 2017/12/18 C:\cygwin64\bin\cygpng16-16.dll - os=4.0 img=0.0 sys=5.2
"cygpng16-16.dll" v0.0 ts=2017-12-18 01:48
41k 2016/07/13 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
"cygpopt-0.dll" v0.0 ts=2016-07-13 06:16
53k 2017/08/11 C:\cygwin64\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
"cygpsl-5.dll" v0.0 ts=2017-08-11 06:56
219k 2017/02/13 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
"cygreadline7.dll" v0.0 ts=2017-02-11 22:39
424k 2013/06/23 C:\cygwin64\bin\cygroken-18.dll - os=4.0 img=0.0 sys=5.2
"cygroken-18.dll" v0.0 ts=2013-06-23 06:21
96k 2017/04/16 C:\cygwin64\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
"cygsasl2-3.dll" v0.0 ts=2017-04-16 19:15
11k 2015/07/17 C:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
"cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
89k 2015/03/23 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
"cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:46
996k 2017/11/06 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
"cygsqlite3-0.dll" v0.0 ts=2017-11-06 12:43
156k 2016/03/02 C:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
"cygssh2-1.dll" v0.0 ts=2016-03-02 18:03
406k 2018/08/27 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
"cygssl-1.0.0.dll" v0.0 ts=2018-08-27 18:14
12k 2017/11/13 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
"cygssp-0.dll" v0.0 ts=2017-11-13 21:52
1394k 2018/06/26 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
"cygstdc++-6.dll" v0.0 ts=2018-06-26 17:34
67k 2018/03/19 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
"cygtasn1-6.dll" v0.0 ts=2018-03-19 21:41
58k 2017/12/05 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
"cygticw-10.dll" v0.0 ts=2017-12-05 08:13
1612k 2018/08/16 C:\cygwin64\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
"cygunistring-2.dll" v0.0 ts=2018-08-16 20:33
73k 2015/02/11 C:\cygwin64\bin\cygusb0.dll - os=4.0 img=0.0 sys=5.2
"cygusb0.dll" v0.0 ts=2015-02-11 01:16
15k 2015/03/23 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
"cyguuid-1.dll" v0.0 ts=2015-03-23 09:46
275k 2013/06/23 C:\cygwin64\bin\cygwind-0.dll - os=4.0 img=0.0 sys=5.2
"cygwind-0.dll" v0.0 ts=2013-06-23 06:22
31k 2018/07/14 C:\cygwin64\bin\cygwrap-0.dll - os=4.0 img=0.0 sys=5.2
"cygwrap-0.dll" v0.0 ts=2018-07-14 11:43
1128k 2017/06/19 C:\cygwin64\bin\cygX11-6.dll - os=4.0 img=0.0 sys=5.2
"cygX11-6.dll" v0.0 ts=2017-06-19 02:47
12k 2013/06/06 C:\cygwin64\bin\cygXau-6.dll - os=4.0 img=0.0 sys=5.2
"cygXau-6.dll" v0.0 ts=2013-06-06 06:23
121k 2017/10/03 C:\cygwin64\bin\cygxcb-1.dll - os=4.0 img=0.0 sys=5.2
"cygxcb-1.dll" v0.0 ts=2017-10-03 23:34
21k 2015/03/26 C:\cygwin64\bin\cygXdmcp-6.dll - os=4.0 img=0.0 sys=5.2
"cygXdmcp-6.dll" v0.0 ts=2015-03-26 15:38
56k 2014/08/10 C:\cygwin64\bin\cygXext-6.dll - os=4.0 img=0.0 sys=5.2
"cygXext-6.dll" v0.0 ts=1970-01-01 00:00
73k 2014/08/10 C:\cygwin64\bin\cygXft-2.dll - os=4.0 img=0.0 sys=5.2
"cygXft-2.dll" v0.0 ts=1970-01-01 00:00
1214k 2017/03/13 C:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
"cygxml2-2.dll" v0.0 ts=2017-03-13 17:01
36k 2016/01/29 C:\cygwin64\bin\cygXrender-1.dll - os=4.0 img=0.0 sys=5.2
"cygXrender-1.dll" v0.0 ts=2016-01-29 20:24
12k 2013/03/14 C:\cygwin64\bin\cygXss-1.dll - os=4.0 img=0.0 sys=5.2
"cygXss-1.dll" v0.0 ts=2013-03-14 04:07
83k 2017/03/03 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
"cygz.dll" v0.0 ts=2017-03-03 21:42
3261k 2018/11/08 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
"cygwin1.dll" v0.0 ts=2018-11-08 13:34
Cygwin DLL version info:
DLL version: 2.11.2
DLL epoch: 19
DLL old termios: 5
DLL malloc env: 28
Cygwin conv: 181
API major: 0
API minor: 329
Shared data: 5
DLL identifier: cygwin1
Mount registry: 3
Cygwin registry name: Cygwin
Installations name: Installations
Cygdrive default prefix:
Build date:
Shared id: cygwin1S5
626k 2017/10/27 C:\cygwin64\bin\cygarchive-13.dll - os=4.0 img=0.0 sys=5.2
"cygarchive-13.dll" v0.0 ts=2017-10-27 03:12
39k 2016/09/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
"cygargp-0.dll" v0.0 ts=2016-09-19 02:13
2568k 2013/06/23 C:\cygwin64\bin\cygasn1-8.dll - os=4.0 img=0.0 sys=5.2
"cygasn1-8.dll" v0.0 ts=2013-06-23 06:23
16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
"cygattr-1.dll" v0.0 ts=2013-03-26 18:26
180k 2015/03/23 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
"cygblkid-1.dll" v0.0 ts=2015-03-23 09:46
64k 2017/02/22 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
"cygbz2-1.dll" v0.0 ts=2017-02-22 07:22
13k 2013/03/06 C:\cygwin64\bin\cygcatgets1.dll - os=4.0 img=0.0 sys=5.2
"cygcatgets1.dll" v0.0 ts=2013-03-06 14:34
13k 2015/03/19 C:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
"cygcom_err-2.dll" v0.0 ts=2015-03-19 02:44
39k 2017/09/03 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
"cygcrypt-0.dll" v0.0 ts=2017-09-03 08:18
2346k 2018/08/27 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
"cygcrypto-1.0.0.dll" v0.0 ts=2018-08-27 18:14
507k 2018/03/15 C:\cygwin64\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
"cygcurl-4.dll" v0.0 ts=2018-03-15 16:22
1552k 2017/09/28 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb-5.3.dll" v0.0 ts=2017-09-28 20:05
119k 2017/09/28 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 20:06
569k 2017/09/28 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
"cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 20:06
154k 2013/10/20 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
"cygedit-0.dll" v0.0 ts=2013-10-20 21:56
181k 2018/09/27 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
"cygexpat-1.dll" v0.0 ts=2018-09-27 18:30
27k 2015/11/17 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
"cygffi-6.dll" v0.0 ts=2015-11-17 22:14
252k 2018/02/13 C:\cygwin64\bin\cygfontconfig-1.dll - os=4.0 img=0.0 sys=5.2
"cygfontconfig-1.dll" v0.0 ts=2018-02-13 04:08
65k 2017/12/05 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
"cygformw-10.dll" v0.0 ts=2017-12-05 08:15
654k 2018/03/20 C:\cygwin64\bin\cygfreetype-6.dll - os=4.0 img=0.0 sys=5.2
"cygfreetype-6.dll" v0.0 ts=2018-03-20 03:29
122k 2018/08/15 C:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
"cyggc-1.dll" v0.0 ts=2018-08-14 15:35
70k 2018/06/26 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
"cyggcc_s-seh-1.dll" v0.0 ts=2018-06-26 17:17
39k 2016/10/10 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
"cyggdbm-4.dll" v0.0 ts=2016-10-10 09:26
13k 2016/10/10 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
"cyggdbm_compat-4.dll" v0.0 ts=2016-10-10 09:26
527k 2017/01/21 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
"cyggmp-10.dll" v0.0 ts=2017-01-21 18:25
938k 2017/05/02 C:\cygwin64\bin\cyggnutls-28.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-28.dll" v0.0 ts=2017-05-02 22:06
1207k 2018/03/15 C:\cygwin64\bin\cyggnutls-30.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-30.dll" v0.0 ts=2018-03-15 23:08
24k 2017/05/02 C:\cygwin64\bin\cyggnutls-openssl-27.dll - os=4.0 img=0.0 sys=5.2
"cyggnutls-openssl-27.dll" v0.0 ts=2017-05-02 22:06
2247k 2013/06/23 C:\cygwin64\bin\cyggssapi-3.dll - os=4.0 img=0.0 sys=5.2
"cyggssapi-3.dll" v0.0 ts=2013-06-23 06:31
274k 2018/03/16 C:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
"cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:38
1333k 2018/08/07 C:\cygwin64\bin\cygguile-2.0-22.dll - os=4.0 img=0.0 sys=5.2
"cygguile-2.0-22.dll" v0.0 ts=2018-08-07 08:10
101k 2013/06/23 C:\cygwin64\bin\cygheimbase-1.dll - os=4.0 img=0.0 sys=5.2
"cygheimbase-1.dll" v0.0 ts=2013-06-23 06:20
135k 2013/06/23 C:\cygwin64\bin\cygheimntlm-0.dll - os=4.0 img=0.0 sys=5.2
"cygheimntlm-0.dll" v0.0 ts=2013-06-23 06:28
33k 2017/02/13 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
"cyghistory7.dll" v0.0 ts=2017-02-11 22:39
167k 2016/03/13 C:\cygwin64\bin\cyghogweed-2.dll - os=4.0 img=0.0 sys=5.2
"cyghogweed-2.dll" v0.0 ts=2016-03-13 14:46
163k 2018/03/15 C:\cygwin64\bin\cyghogweed-4.dll - os=4.0 img=0.0 sys=5.2
"cyghogweed-4.dll" v0.0 ts=2018-03-16 00:07
1412k 2013/06/23 C:\cygwin64\bin\cyghx509-5.dll - os=4.0 img=0.0 sys=5.2
"cyghx509-5.dll" v0.0 ts=2013-06-23 06:24
1009k 2015/02/20 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
"cygiconv-2.dll" v0.0 ts=2015-02-20 17:07
197k 2017/05/02 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
"cygidn-11.dll" v0.0 ts=2017-05-02 01:18
111k 2017/09/25 C:\cygwin64\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
"cygidn2-0.dll" v0.0 ts=2017-09-25 03:16
42k 2016/10/23 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
"cygintl-8.dll" v0.0 ts=2016-10-23 07:17
192k 2018/03/16 C:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
"cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:37
159k 2013/06/23 C:\cygwin64\bin\cygkafs-0.dll - os=4.0 img=0.0 sys=5.2
"cygkafs-0.dll" v0.0 ts=2013-06-23 06:28
3287k 2013/06/23 C:\cygwin64\bin\cygkrb5-26.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5-26.dll" v0.0 ts=2013-06-23 06:27
754k 2018/03/16 C:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5-3.dll" v0.0 ts=2018-03-16 03:37
37k 2018/03/16 C:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
"cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:36
45k 2015/11/19 C:\cygwin64\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cyglber-2-4-2.dll" v0.0 ts=2015-11-19 14:17
246k 2015/11/19 C:\cygwin64\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cygldap-2-4-2.dll" v0.0 ts=2015-11-19 14:18
262k 2015/11/19 C:\cygwin64\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
"cygldap_r-2-4-2.dll" v0.0 ts=2015-11-19 14:19
6k 2018/11/08 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
"cyglsa64.dll" v0.0 ts=2018-11-08 13:34
35k 2018/05/29 C:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
"cygltdl-7.dll" v0.0 ts=2018-05-29 15:34
73k 2017/06/19 C:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
"cyglz4-1.dll" v0.0 ts=2017-06-19 15:40
139k 2017/05/10 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
"cyglzma-5.dll" v0.0 ts=2017-05-10 01:17
129k 2017/10/05 C:\cygwin64\bin\cyglzo2-2.dll - os=4.0 img=0.0 sys=5.2
"cyglzo2-2.dll" v0.0 ts=2017-10-05 19:40
125k 2018/03/18 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
"cygmagic-1.dll" v0.0 ts=2018-03-18 15:17
168k 2018/01/23 C:\cygwin64\bin\cygman-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
"cygman-2-7-6-1.dll" v0.0 ts=2018-01-23 20:22
22k 2018/01/23 C:\cygwin64\bin\cygmandb-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
"cygmandb-2-7-6-1.dll" v0.0 ts=2018-01-23 20:22
33k 2017/12/05 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
"cygmenuw-10.dll" v0.0 ts=2017-12-05 08:15
346k 2017/11/04 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
"cygmpfr-4.dll" v0.0 ts=2017-11-04 18:48
432k 2018/07/28 C:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
"cygmpfr-6.dll" v0.0 ts=2018-07-28 20:18
317k 2017/12/05 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
"cygncursesw-10.dll" v0.0 ts=2017-12-05 08:13
180k 2016/03/13 C:\cygwin64\bin\cygnettle-4.dll - os=4.0 img=0.0 sys=5.2
"cygnettle-4.dll" v0.0 ts=2016-03-13 14:46
207k 2018/03/15 C:\cygwin64\bin\cygnettle-6.dll - os=4.0 img=0.0 sys=5.2
"cygnettle-6.dll" v0.0 ts=2018-03-16 00:07
140k 2018/03/16 C:\cygwin64\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
"cygnghttp2-14.dll" v0.0 ts=2018-03-16 02:04
1019k 2018/04/09 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
"cygp11-kit-0.dll" v0.0 ts=2018-04-09 01:55
15k 2017/12/05 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
"cygpanelw-10.dll" v0.0 ts=2017-12-05 08:14
475k 2017/04/23 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
"cygpcre-1.dll" v0.0 ts=2017-04-24 00:50
2021k 2016/04/30 C:\cygwin64\bin\cygperl5_22.dll - os=4.0 img=0.0 sys=5.2
"cygperl5_22.dll" v0.0 ts=2016-04-30 16:05
2209k 2018/12/01 C:\cygwin64\bin\cygperl5_26.dll - os=4.0 img=0.0 sys=5.2
"cygperl5_26.dll" v0.0 ts=2018-12-01 07:22
39k 2015/04/09 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
"cygpipeline-1.dll" v0.0 ts=2015-04-09 21:04
200k 2017/12/18 C:\cygwin64\bin\cygpng16-16.dll - os=4.0 img=0.0 sys=5.2
"cygpng16-16.dll" v0.0 ts=2017-12-18 01:48
41k 2016/07/13 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
"cygpopt-0.dll" v0.0 ts=2016-07-13 06:16
53k 2017/08/11 C:\cygwin64\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
"cygpsl-5.dll" v0.0 ts=2017-08-11 06:56
219k 2017/02/13 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
"cygreadline7.dll" v0.0 ts=2017-02-11 22:39
424k 2013/06/23 C:\cygwin64\bin\cygroken-18.dll - os=4.0 img=0.0 sys=5.2
"cygroken-18.dll" v0.0 ts=2013-06-23 06:21
96k 2017/04/16 C:\cygwin64\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
"cygsasl2-3.dll" v0.0 ts=2017-04-16 19:15
11k 2015/07/17 C:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
"cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
89k 2015/03/23 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
"cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:46
996k 2017/11/06 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
"cygsqlite3-0.dll" v0.0 ts=2017-11-06 12:43
156k 2016/03/02 C:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
"cygssh2-1.dll" v0.0 ts=2016-03-02 18:03
406k 2018/08/27 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
"cygssl-1.0.0.dll" v0.0 ts=2018-08-27 18:14
12k 2017/11/13 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
"cygssp-0.dll" v0.0 ts=2017-11-13 21:52
1394k 2018/06/26 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
"cygstdc++-6.dll" v0.0 ts=2018-06-26 17:34
67k 2018/03/19 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
"cygtasn1-6.dll" v0.0 ts=2018-03-19 21:41
58k 2017/12/05 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
"cygticw-10.dll" v0.0 ts=2017-12-05 08:13
1612k 2018/08/16 C:\cygwin64\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
"cygunistring-2.dll" v0.0 ts=2018-08-16 20:33
73k 2015/02/11 C:\cygwin64\bin\cygusb0.dll - os=4.0 img=0.0 sys=5.2
"cygusb0.dll" v0.0 ts=2015-02-11 01:16
15k 2015/03/23 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
"cyguuid-1.dll" v0.0 ts=2015-03-23 09:46
275k 2013/06/23 C:\cygwin64\bin\cygwind-0.dll - os=4.0 img=0.0 sys=5.2
"cygwind-0.dll" v0.0 ts=2013-06-23 06:22
31k 2018/07/14 C:\cygwin64\bin\cygwrap-0.dll - os=4.0 img=0.0 sys=5.2
"cygwrap-0.dll" v0.0 ts=2018-07-14 11:43
1128k 2017/06/19 C:\cygwin64\bin\cygX11-6.dll - os=4.0 img=0.0 sys=5.2
"cygX11-6.dll" v0.0 ts=2017-06-19 02:47
12k 2013/06/06 C:\cygwin64\bin\cygXau-6.dll - os=4.0 img=0.0 sys=5.2
"cygXau-6.dll" v0.0 ts=2013-06-06 06:23
121k 2017/10/03 C:\cygwin64\bin\cygxcb-1.dll - os=4.0 img=0.0 sys=5.2
"cygxcb-1.dll" v0.0 ts=2017-10-03 23:34
21k 2015/03/26 C:\cygwin64\bin\cygXdmcp-6.dll - os=4.0 img=0.0 sys=5.2
"cygXdmcp-6.dll" v0.0 ts=2015-03-26 15:38
56k 2014/08/10 C:\cygwin64\bin\cygXext-6.dll - os=4.0 img=0.0 sys=5.2
"cygXext-6.dll" v0.0 ts=1970-01-01 00:00
73k 2014/08/10 C:\cygwin64\bin\cygXft-2.dll - os=4.0 img=0.0 sys=5.2
"cygXft-2.dll" v0.0 ts=1970-01-01 00:00
1214k 2017/03/13 C:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
"cygxml2-2.dll" v0.0 ts=2017-03-13 17:01
36k 2016/01/29 C:\cygwin64\bin\cygXrender-1.dll - os=4.0 img=0.0 sys=5.2
"cygXrender-1.dll" v0.0 ts=2016-01-29 20:24
12k 2013/03/14 C:\cygwin64\bin\cygXss-1.dll - os=4.0 img=0.0 sys=5.2
"cygXss-1.dll" v0.0 ts=2013-03-14 04:07
83k 2017/03/03 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
"cygz.dll" v0.0 ts=2017-03-03 21:42
3261k 2018/11/08 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
"cygwin1.dll" v0.0 ts=2018-11-08 13:34
Cygwin DLL version info:
DLL version: 2.11.2
DLL epoch: 19
DLL old termios: 5
DLL malloc env: 28
Cygwin conv: 181
API major: 0
API minor: 329
Shared data: 5
DLL identifier: cygwin1
Mount registry: 3
Cygwin registry name: Cygwin
Installations name: Installations
Cygdrive default prefix:
Build date:
Shared id: cygwin1S5
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
stdin path : /dev/null
stdout path : /var/log/sshd.log
stderr path : /var/log/sshd.log
Environment : CYGWIN="binmode ntsec"
Process Type : Own Process
Startup : Automatic
Dependencies : tcpip
Account : .\cyg_server
Cygwin Package Information
Last downloaded files to: C:\Users\each\Downloads
Last downloaded files from: http://www.pirbot.com/mirrors/cygwin/
Package Version Status
_autorebase 001007-1 OK
Empty package _update-info-dir
_update-info-dir 03000-1 OK
alternatives 1.3.30c-10 OK
base-cygwin 3.8-1 OK
base-files 4.2-4 OK
bash 4.4.12-3 OK
binutils 2.29-1 OK
bsdcpio 3.3.2-1 OK
bsdtar 3.3.2-1 OK
bzip2 1.0.6-3 OK
ca-certificates 2.22-1 OK
coreutils 8.26-2 OK
csih 0.9.11-1 OK
cvs 1.11.23-2 OK
cygrunsrv 1.62-1 OK
cygutils 1.4.16-2 OK
cygwin 2.11.2-1 OK
cygwin-devel 2.11.2-1 OK
dash 0.5.9.1-1 OK
dejavu-fonts 2.37-1 OK
diffutils 3.5-2 OK
dos2unix 7.4.0-1 OK
editrights 1.03-1 OK
file 5.32-1 OK
findutils 4.6.0-1 OK
gawk 4.2.1-1 OK
getent 2.18.90-4 OK
git 2.17.0-1 OK
gnupg 1.4.23-1 OK
grep 3.0-2 OK
groff 1.22.3-1 OK
gzip 1.8-1 OK
hostname 3.13-1 OK
info 6.5-2 OK
ipc-utils 1.0-2 OK
joe 4.2-1 OK
less 530-1 OK
libarchive13 3.3.2-1 OK
libargp 20110921-3 OK
libasn1_8 1.5.2-4 OK
libattr1 2.4.46-1 OK
libblkid1 2.25.2-2 OK
libbz2_1 1.0.6-3 OK
libcatgets1 1.1-2 OK
libcom_err2 1.42.12-2 OK
libcrypt0 2.1-1 OK
libcurl4 7.59.0-1 OK
libdb5.3 5.3.28-2 OK
libedit0 20130712-1 OK
libexpat1 2.2.6-1 OK
libffi6 3.2.1-2 OK
libfontconfig-common 2.12.6-1 OK
libfontconfig1 2.12.6-1 OK
libfreetype6 2.8.1-1 OK
libgc1 7.6.8-1 OK
libgcc1 7.3.0-3 OK
libgdbm4 1.12-1 OK
libgmp10 6.1.2-1 OK
libgnutls28 3.3.27-1 OK
libgnutls30 3.5.18-1 OK
libgssapi3 1.5.2-4 OK
libgssapi_krb5_2 1.15.2-2 OK
libguile2.0_22 2.0.14-3 OK
libheimbase1 1.5.2-4 OK
libheimntlm0 1.5.2-4 OK
libhogweed2 2.7.1-1 OK
libhogweed4 3.4-1 OK
libhx509_5 1.5.2-4 OK
libiconv 1.14-3 OK
libiconv2 1.14-3 OK
libidn11 1.33-1 OK
libidn2_0 2.0.4-1 OK
libintl8 0.19.8.1-2 OK
libk5crypto3 1.15.2-2 OK
libkafs0 1.5.2-4 OK
libkrb5_26 1.5.2-4 OK
libkrb5_3 1.15.2-2 OK
libkrb5support0 1.15.2-2 OK
libltdl7 2.4.6-6 OK
liblz4_1 1.7.5-1 OK
liblzma5 5.2.3-1 OK
liblzo2_2 2.10-1 OK
libmpfr4 3.1.6-1p1 OK
libmpfr6 4.0.1-4p11 OK
libncursesw10 6.0-12.20171125 OK
libnettle4 2.7.1-1 OK
libnettle6 3.4-1 OK
libnghttp2_14 1.31.0-1 OK
libopenldap2_4_2 2.4.42-1 OK
libopenssl100 1.0.2p-1 OK
libp11-kit0 0.23.10-1 OK
libpcre1 8.40-3 OK
libpipeline1 1.4.0-1 OK
libpng16 1.6.34-1 OK
Missing file: /usr/share/locale/cs/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/da/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/de/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/eo/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/es/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/fi/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/fr/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/ga/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/gl/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/hu/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/id/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/is/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/it/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/ja/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/ko/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/lv/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/nb/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/nl/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/pl/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/pt/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/ro/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/ru/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/sk/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/sl/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/sv/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/th/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/tr/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/uk/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/vi/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/wa/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/zh_CN/LC_MESSAGES/popt.mo from package libpopt-common
Missing file: /usr/share/locale/zh_TW/LC_MESSAGES/popt.mo from package libpopt-common
libpopt-common 1.16-2 Incomplete
libpopt0 1.16-2 OK
libpsl5 0.18.0-1 OK
libreadline7 7.0.3-3 OK
libroken18 1.5.2-4 OK
libsasl2_3 2.1.26-11 OK
libsigsegv2 2.10-2 OK
libsmartcols1 2.25.2-2 OK
libsqlite3_0 3.21.0-1 OK
libssh2_1 1.7.0-1 OK
libssp0 6.4.0-4 OK
libstdc++6 7.3.0-3 OK
libtasn1_6 4.13-1 OK
libunistring2 0.9.10-1 OK
libusb0 1.2.6.0-2 OK
libuuid-devel 2.25.2-2 OK
libuuid1 2.25.2-2 OK
libwind0 1.5.2-4 OK
libwrap0 7.6-26 OK
libX11_6 1.6.5-1 OK
libXau6 1.0.8-1 OK
libxcb1 1.12-2 OK
libXdmcp6 1.1.2-1 OK
libXext6 1.3.3-1 OK
libXft2 2.3.2-1 OK
libxml2 2.9.4-2 OK
libXrender1 0.9.9-1 OK
libXss1 1.2.2-1 OK
links 2.14-1 OK
login 1.12-1 OK
make 4.2.1-2 OK
Empty package man
man 2.7.6.1-1 OK
man-db 2.7.6.1-1 OK
mintty 2.9.5-0 OK
ncurses 6.0-12.20171125 OK
openssh 7.9p1-1 OK
openssl 1.0.2p-1 OK
p11-kit 0.23.10-1 OK
p11-kit-trust 0.23.10-1 OK
perl 5.26.3-1 OK
Empty package perl-Carp
perl-Carp 1.38-2 OK
perl-Crypt-OpenSSL-Bignum 0.09-1 OK
perl-Crypt-OpenSSL-DSA 0.19-2 OK
perl-Crypt-OpenSSL-Random 0.15-1 OK
perl-Crypt-OpenSSL-RSA 0.31-1 OK
perl-Digest-HMAC 1.03-6 OK
perl-Error 0.17027-1 OK
perl-Net-DNS 1.19-1 OK
perl-Net-DNS-SEC 1.10-1 OK
Empty package perl-Pod-Simple
perl-Pod-Simple 3.35-2 OK
perl-Scalar-List-Utils 1.50-1 OK
perl-TermReadKey 2.37-2 OK
Empty package perl-Unicode-Normalize
perl-Unicode-Normalize 1.25-2 OK
perl_autorebase 5.26.3-1 OK
perl_base 5.26.3-1 OK
Empty package popt
popt 1.16-2 OK
publicsuffix-list-dafsa 20180523-1 OK
Empty package python
python 2.7.14-1 OK
Empty package python-ply
python-ply 3.9-1 OK
Empty package python-setuptools
python-setuptools 34.3.2-1 OK
Empty package python-tkinter
python-tkinter 2.7.14-1 OK
python2 2.7.14-1 OK
python2-appdirs 1.4.3-1 OK
python2-packaging 16.8-1 OK
python2-ply 3.9-1 OK
python2-pyparsing 2.1.10-1 OK
python2-setuptools 34.3.2-1 OK
python2-six 1.10.0-1 OK
python2-tkinter 2.7.14-1 OK
rebase 4.4.4-1 OK
rsync 3.1.2-1 OK
run 1.3.4-2 OK
sed 4.4-1 OK
tar 1.29-1 OK
tcl 8.6.8-1 OK
tcl-tix 8.4.3-3 OK
tcl-tk 8.6.8-1 OK
tcsh 6.20.00-1 OK
terminfo 6.0-12.20171125 OK
texinfo 6.5-2 OK
tzcode 2018e-1 OK
tzdata 2018e-1 OK
unzip 6.0-17 OK
util-linux 2.25.2-2 OK
vim 8.0.1567-1 OK
vim-common 8.0.1567-1 OK
vim-minimal 8.0.1567-1 OK
wget 1.19.1-2 OK
which 2.20-2 OK
xxd 8.0.1567-1 OK
xz 5.2.3-1 OK
zip 3.0-12 OK
zlib0 1.2.11-1 OK
Use -h to see help about each section
Ondrej
--
Ondřej Surý
ondrej@isc.org
--
Ondřej Surý
ondrej@isc.org
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 11:10 grep 3.0-2 not stripping CRs on Windows Ondřej Surý
@ 2018-12-17 11:41 ` Marco Atzeri
2018-12-17 23:37 ` Andrey Repin
1 sibling, 0 replies; 10+ messages in thread
From: Marco Atzeri @ 2018-12-17 11:41 UTC (permalink / raw)
To: cygwin
Am 17.12.2018 um 12:09 schrieb OndÅej Surý:
> Hi,
>
> the grep package in version 3.0-2 fails to strip CR characters from the input, the reproducer is fairly simple:
>
> ```
> $ echo -e 'foo\r\n' | grep -a 'foo$'
> $
> ```
>
> Perhaps the grep fails to detect itâs running on Windows because of cygwin emulates Linux so well? :)
Cygwin is a POSIX platform not a pure Windows one.
If you need to strip CR character, d2u of dos2unix package is the tool.
PS: cygcheck.out should be attached to the mail not inline, as inline
screw up any word search of the mailing list.
Regards
Marco
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 11:10 grep 3.0-2 not stripping CRs on Windows Ondřej Surý
2018-12-17 11:41 ` Marco Atzeri
@ 2018-12-17 23:37 ` Andrey Repin
1 sibling, 0 replies; 10+ messages in thread
From: Andrey Repin @ 2018-12-17 23:37 UTC (permalink / raw)
To: Ondřej Surý, cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1190 bytes --]
Greetings, OndÅej Surý!
> the grep package in version 3.0-2 fails to strip CR characters from the
> input, the reproducer is fairly simple:
The change to not do text mode conversion any longer was delibrate and in line
with changes to other GNU tools.
> ```
> $ echo -e 'foo\r\n' | grep -a 'foo$'
> $
> ```
> Perhaps the grep fails to detect itâs running on Windows because of cygwin emulates Linux so well? :)
> This contradicts the manpage that says:
Man page refers to Windows and DOS native builds, while Cygwin is "a kinf od
Linux".
> And itâs a regression from previous behaviour, and unfortunately, this change breaks some existing scripts.
See above, the change was deliberate.
It affected sed, grep and probably diff/patch from what I can recall.
You can check list archives to find more information.
--
With best regards,
Andrey Repin
Monday, December 17, 2018 23:32:49
Sorry for my terrible english...\x03BKCB\x1cØ\x19[H\x1c\^[Ü\x1cÎ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÜ\x1cØ\x19[\Ë\x1d^[[\x03BTN\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ\KÃB^[ØÝ[Y[\x18]\x1a[Û\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ^[ØÜË\x1d^[[\x03B[ÝXØÜXH\x1a[Î\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÛ[\vÈÝ[ÝXØÜXK\Ú[\^[\x19CBB
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 13:05 ` Steven Penny
@ 2018-12-17 15:38 ` cyg Simple
0 siblings, 0 replies; 10+ messages in thread
From: cyg Simple @ 2018-12-17 15:38 UTC (permalink / raw)
To: cygwin
On 12/17/2018 8:05 AM, Steven Penny wrote:
> On Mon, 17 Dec 2018 13:22:48, OndÅej Surý wrote:
>> # No amount of options makes the grep find the text in the file
>> $ ./grep-3.0-2.exe 'foo$â crlf.txt
>> $ ./grep-3.0-2.exe -U 'foo$' crlf.txt
>> $ ./grep-3.0-2.exe -a 'foo$â crlf.txt
>
> Your commands are failing because you are not accounding for the carriage
> returns. as was said, this change was intentionally done for the purpose of
> making scripts MORE portable:
>
And the portability is what we want to keep.
> https://cygwin.com/ml/cygwin/2017-02/msg00155.html
>
> if you want to keep your grep command, you need to remove CR first:
>
> Â Â $ printf 'alpha\r\nbeta\r\n' > CRLF.txt
> Â Â $ tr -d '\r' < CRLF.txt | grep 'a$'
This is the POSIX method to get portability and Cygwin is POSIX for
Windows. Therefore the bits of documentation for MS-DOS and MS-Windows
isn't in affect for Cygwin grep. In other words the following is in
affect but can be misinterpreted because Cygwin runs on MS-Windows but
isn't considered such.
"This option has no effect on platforms other than MS-DOS and
MS-Windows."
> Â Â alpha
> Â Â beta
--
cyg Simple
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 12:22 ` Ondřej Surý
2018-12-17 12:51 ` Soegtrop, Michael
@ 2018-12-17 13:05 ` Steven Penny
2018-12-17 15:38 ` cyg Simple
1 sibling, 1 reply; 10+ messages in thread
From: Steven Penny @ 2018-12-17 13:05 UTC (permalink / raw)
To: cygwin
On Mon, 17 Dec 2018 13:22:48, OndÅej Surý wrote:
> # No amount of options makes the grep find the text in the file
> $ ./grep-3.0-2.exe 'foo$â crlf.txt
> $ ./grep-3.0-2.exe -U 'foo$' crlf.txt
> $ ./grep-3.0-2.exe -a 'foo$â crlf.txt
Your commands are failing because you are not accounding for the carriage
returns. as was said, this change was intentionally done for the purpose of
making scripts MORE portable:
https://cygwin.com/ml/cygwin/2017-02/msg00155.html
if you want to keep your grep command, you need to remove CR first:
$ printf 'alpha\r\nbeta\r\n' > CRLF.txt
$ tr -d '\r' < CRLF.txt | grep 'a$'
alpha
beta
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: grep 3.0-2 not stripping CRs on Windows
2018-12-17 12:22 ` Ondřej Surý
@ 2018-12-17 12:51 ` Soegtrop, Michael
2018-12-17 13:05 ` Steven Penny
1 sibling, 0 replies; 10+ messages in thread
From: Soegtrop, Michael @ 2018-12-17 12:51 UTC (permalink / raw)
To: Ondrej Surý; +Cc: cygwin
Dear Ondrej,
> # Use —text —> finds the text OK
Afaik -a / --text only suppresses this behavior (from man grep):
... when grep discovers that a file is binary it suppresses any further
output, and instead outputs either a one-line message saying that a binary file matches, or no message
if there is no match.
It does not influence if the file is opened as text or binary file. I agree that the documentation to -U in man grep explicitly says that if a file is a text file, CRs are stripped, so that is a documentation bug. This should be updated (as Corinna already suggested).
I still think that it would also make sense to:
- have for grep, sed and awk at least an option to strip CRs
- have an environment variable to make this option default
But otherwise I must admit that handling scripts intended for Unix works very well with Cygwin so the decision made appear to be good decisions, even if they are sometimes not what one wants.
Best regards,
Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 12:04 ` Soegtrop, Michael
@ 2018-12-17 12:22 ` Ondřej Surý
2018-12-17 12:51 ` Soegtrop, Michael
2018-12-17 13:05 ` Steven Penny
0 siblings, 2 replies; 10+ messages in thread
From: Ondřej Surý @ 2018-12-17 12:22 UTC (permalink / raw)
To: Soegtrop, Michael; +Cc: cygwin
Hi Michael,
ah, there was a similar change for sed, that’s why I missed it when searching for the change.
I believe this is slightly different case, as the pipes were only included in the example I sent. The grep fails to match CRLF to $ even if physical files are involved and `-a` option is enforced:
# Create file with CRLF
$ echo -ne 'foo\r\n' > crlf.txt
# Use 2.27-2 version -> works OK
$ ./grep-2.27-2.exe 'foo$' crlf.txt
foo
# Use --binary —> doesn’t find anything OK
$ ./grep-2.27-2.exe -U 'foo$’ crlf.txt
# Use —text —> finds the text OK
$ ./grep-2.27-2.exe -a 'foo$' crlf.txt
foo
# No amount of options makes the grep find the text in the file
$ ./grep-3.0-2.exe 'foo$’ crlf.txt
$ ./grep-3.0-2.exe -U 'foo$' crlf.txt
$ ./grep-3.0-2.exe -a 'foo$’ crlf.txt
So. I would be perfectly fine, if I had to slap `-a` to every grep command reading text output, because the default has changed.
Sed doesn’t have --text option, so sure, there’s no other option available.
Thanks,
Ondrej
--
Ondřej Surý
ondrej@isc.org
> On 17 Dec 2018, at 13:04, Soegtrop, Michael <michael.soegtrop@intel.com> wrote:
>
> Dear Ondrej,
>
> this has been discussed to quite some length and detail more than once on this list. The initial message of a lengthy discussion (> 30 replies) on the topic is here:
>
> https://www.cygwin.com/ml/cygwin/2017-06/msg00040.html
>
> Best regards,
>
> Michael
> Intel Deutschland GmbH
> Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
> Tel: +49 89 99 8853-0, www.intel.de
> Managing Directors: Christin Eisenschmid
> Chairperson of the Supervisory Board: Nicole Lau
> Registered Office: Munich
> Commercial Register: Amtsgericht Muenchen HRB 186928
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
2018-12-17 11:55 Ondřej Surý
2018-12-17 12:04 ` Soegtrop, Michael
@ 2018-12-17 12:09 ` Corinna Vinschen
1 sibling, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2018-12-17 12:09 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]
On Dec 17 12:55, Ondřej Surý wrote:
> [Sorry, I am not subscribed, so I can’t add proper References: headers here.]
>
> > Cygwin is a POSIX platform not a pure Windows one.
> > If you need to strip CR character, d2u of dos2unix package is the tool.
>
> I am not claiming that Cygwin is a pure Windows platform, but having to run everything through d2u (or tr -d ‘\r’) hardly makes cygwin usable to write platform agnostic scripts, right?
>
> It is a regression from 2.27-2 version of the package:
>
> $ grep --version
> grep (GNU grep) 2.27
> Packaged by Cygwin (2.27-2)
> 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 -e 'foo\r\n' | grep -a 'foo$'
> foo
> $
>
> And it also it contradicts from the documentation (manpage) bundled with the version.
>
> I think it’s reasonable to classify this as a bug.
This was a deliberate change back in February 2017:
https://cygwin.com/ml/cygwin-announce/2017-02/msg00035.html
https://cygwin.com/ml/cygwin-announce/2017-02/msg00036.html
https://cygwin.com/ml/cygwin-announce/2017-02/msg00034.html
A documentation change might make sense, though.
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: grep 3.0-2 not stripping CRs on Windows
2018-12-17 11:55 Ondřej Surý
@ 2018-12-17 12:04 ` Soegtrop, Michael
2018-12-17 12:22 ` Ondřej Surý
2018-12-17 12:09 ` Corinna Vinschen
1 sibling, 1 reply; 10+ messages in thread
From: Soegtrop, Michael @ 2018-12-17 12:04 UTC (permalink / raw)
To: Ondrej Surý, cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 788 bytes --]
Dear Ondrej,
this has been discussed to quite some length and detail more than once on this list. The initial message of a lengthy discussion (> 30 replies) on the topic is here:
https://www.cygwin.com/ml/cygwin/2017-06/msg00040.html
Best regards,
Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\x03BKCB\x1cØ\x19[H\x1c\^[Ü\x1cÎ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÜ\x1cØ\x19[\Ë\x1d^[[\x03BTN\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ\KÃB^[ØÝ[Y[\x18]\x1a[Û\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ^[ØÜË\x1d^[[\x03B[ÝXØÜXH\x1a[Î\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÛ[\vÈÝ[ÝXØÜXK\Ú[\^[\x19CBB
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: grep 3.0-2 not stripping CRs on Windows
@ 2018-12-17 11:55 Ondřej Surý
2018-12-17 12:04 ` Soegtrop, Michael
2018-12-17 12:09 ` Corinna Vinschen
0 siblings, 2 replies; 10+ messages in thread
From: Ondřej Surý @ 2018-12-17 11:55 UTC (permalink / raw)
To: cygwin
[Sorry, I am not subscribed, so I can’t add proper References: headers here.]
> Cygwin is a POSIX platform not a pure Windows one.
> If you need to strip CR character, d2u of dos2unix package is the tool.
I am not claiming that Cygwin is a pure Windows platform, but having to run everything through d2u (or tr -d ‘\r’) hardly makes cygwin usable to write platform agnostic scripts, right?
It is a regression from 2.27-2 version of the package:
$ grep --version
grep (GNU grep) 2.27
Packaged by Cygwin (2.27-2)
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 -e 'foo\r\n' | grep -a 'foo$'
foo
$
And it also it contradicts from the documentation (manpage) bundled with the version.
I think it’s reasonable to classify this as a bug.
Ondrej
--
Ondřej Surý
ondrej@isc.org
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-12-17 20:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-17 11:10 grep 3.0-2 not stripping CRs on Windows Ondřej Surý
2018-12-17 11:41 ` Marco Atzeri
2018-12-17 23:37 ` Andrey Repin
2018-12-17 11:55 Ondřej Surý
2018-12-17 12:04 ` Soegtrop, Michael
2018-12-17 12:22 ` Ondřej Surý
2018-12-17 12:51 ` Soegtrop, Michael
2018-12-17 13:05 ` Steven Penny
2018-12-17 15:38 ` cyg Simple
2018-12-17 12:09 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).