gnuwin32

Korn-Shell for Windows 7?

左心房为你撑大大i 提交于 2019-12-09 07:28:48
问题 We need to support a legacy app that provides a Unix and a Win32 port. Unfortunately, later in the game, a lot of glue code was written in ksh scripts for the unix port only, and the Win32 port has lost parity. I've been trying to revive it, and I've been trying some ksh-for-windows solutions (a native build of Zsh used to work in the past), but nothing seems to work properly under Windows 7: Cygwin refuses to use both Win32 and unix-style paths, so some convoluted scripts break. Same

Korn-Shell for Windows 7?

a 夏天 提交于 2019-12-03 09:13:19
We need to support a legacy app that provides a Unix and a Win32 port. Unfortunately, later in the game, a lot of glue code was written in ksh scripts for the unix port only, and the Win32 port has lost parity. I've been trying to revive it, and I've been trying some ksh-for-windows solutions (a native build of Zsh used to work in the past), but nothing seems to work properly under Windows 7: Cygwin refuses to use both Win32 and unix-style paths, so some convoluted scripts break. Same situation for SUA/SFU. UWin doesn't work on Windows 7. The older native ports I used to use (WinZsh) also no

Difference between GNUWin32 and cygwin

若如初见. 提交于 2019-11-29 23:04:35
I can't seem to get a handle on the difference between the two. It seems that one ( GNUWin32 ) is an layer on top of windows (like MSYS ) and the other (cygwin) is something else (?) What does that mean? When would I use one over the other? Are they both suited for the same thing? I want to use it mainly for git but want to keep my options open for learning and doing all thing *nixy. Is there another tool for this? Will msysgit be better suited for this? Are there any resources that go through the differences of all of these *nix platforms exhaustively? Michael Slade Cygwin is a library that

Missing files for `magic` library on Windows

霸气de小男生 提交于 2019-11-29 14:39:48
问题 I need to get mime type for some files on windows, so i've installed python-magic (on 32-bit python 2.7.3). It depends on unix magic library. Author instructs to get regex2.dll , zlib1.dll and magic1.dll from gnuwin32 project. So i saved the files to a folder and added the folder to my system PATH . Now when i execute magic methods, i get missing file exception: import magic print(magic.Magic()) Traceback (most recent call last): File "C:/Users/Admin/PycharmProjects/lex/lex.py", line 367, in

Gnuwin32 find.exe expands wildcard before performing search

爷,独闯天下 提交于 2019-11-28 21:22:47
I am using Gnuwin32 binaries on a Windows environment. When I want to find files of a certain type, let's say PDF, I usually run: find . -iname '*.pdf' -print This works perfectly on any UNIX system. find.exe . -iname "*.pdf" -print But under Windows, having replaced single quotes with double-quotes, it only works when there is no pdf file in the current directory, otherwise the * gets expanded . Worse: when there is exactly one PDF file in the current directory, it will expand, there will be no syntax error and you will get wrong results. I have tried escaping the * with a caret, a backslash,

Difference between GNUWin32 and cygwin

流过昼夜 提交于 2019-11-28 20:10:42
问题 I can't seem to get a handle on the difference between the two. It seems that one ( GNUWin32 ) is an layer on top of windows (like MSYS ) and the other (cygwin) is something else (?) What does that mean? When would I use one over the other? Are they both suited for the same thing? I want to use it mainly for git but want to keep my options open for learning and doing all thing *nixy. Is there another tool for this? Will msysgit be better suited for this? Are there any resources that go

GnuWin32 openssl s_client conn to WebSphere MQ server not closing at EOF, hangs

妖精的绣舞 提交于 2019-11-28 10:36:09
I am trying to use the GnuWin32 version of OpenSSL to fetch certificates from several WebSphere MQ queue managers. All attempts result in OpenSSL keeping the connection open until I manually hit ENTER. I tried piping various text into the command as per this SO question and this SO question , but with no luck. Ideally, OpenSSL would close the connection once the input file or piped text hit EOF. Examples: echo QUIT | openssl s_client -connect qmgrhost:1414 -showcerts openssl s_client -connect qmgrhost:1414 -showcerts < responsefile.txt The examples using the QUIT command appear to work in the

Gnuwin32 find.exe expands wildcard before performing search

亡梦爱人 提交于 2019-11-27 13:57:57
问题 I am using Gnuwin32 binaries on a Windows environment. When I want to find files of a certain type, let's say PDF, I usually run: find . -iname '*.pdf' -print This works perfectly on any UNIX system. find.exe . -iname "*.pdf" -print But under Windows, having replaced single quotes with double-quotes, it only works when there is no pdf file in the current directory, otherwise the * gets expanded . Worse: when there is exactly one PDF file in the current directory, it will expand, there will be

GnuWin32 openssl s_client conn to WebSphere MQ server not closing at EOF, hangs

大兔子大兔子 提交于 2019-11-27 03:40:12
问题 I am trying to use the GnuWin32 version of OpenSSL to fetch certificates from several WebSphere MQ queue managers. All attempts result in OpenSSL keeping the connection open until I manually hit ENTER. I tried piping various text into the command as per this SO question and this SO question, but with no luck. Ideally, OpenSSL would close the connection once the input file or piped text hit EOF. Examples: echo QUIT | openssl s_client -connect qmgrhost:1414 -showcerts openssl s_client -connect