GnuWin provides ports of tools with a GNU or similar open source license, to modern MS-Windows (Microsoft Windows 2000 / XP / 2003 / Vista / 2008 / 7)
Questions tagged [gnuwin32]
79 questions
28
votes
2 answers
Difference between GNUWin32 and cygwin
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…

qwertymk
- 34,200
- 28
- 121
- 184
19
votes
5 answers
Gnuwin32 find.exe expands wildcard before performing search
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…

Benoit
- 76,634
- 23
- 210
- 236
14
votes
7 answers
Grep and Awk in Windows Invalid Char in Expression Error
I am new to grep and awk - using Windows 7 (I downloaded grep and awk for windows from GnuWin).
I am have having trouble running this script:
grep -Fwf dictionary.txt frequency.txt | awk '{print $2 "," $1}'
I get the error:
awk: '{print
awk: ^…

Nathan
- 1,483
- 3
- 18
- 41
10
votes
6 answers
python word2vec not installing
I've been trying to install word2vec on my Windows 7 machine using my Python2.7 interpreter: https://github.com/danielfrg/word2vec
I've tried downloading the zip & running python setup.py install from the unzipped directory and running pip install.…

pygeorgiou
- 115
- 1
- 1
- 5
10
votes
5 answers
Missing files for `magic` library on Windows
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…

user2052437
- 173
- 1
- 1
- 8
7
votes
1 answer
GnuWin32 or Cygwin - from a programmers point of view
For a programmer with Linux skills and a love of the command line, what is better to use on Windows - Cygwin or GnuWin32?
I tried to find a good comparison or a list of differences but couldn't find anything remotely complete. Also, I wondered…

Kornel Kisielewicz
- 55,802
- 15
- 111
- 149
4
votes
1 answer
sort hex numbers from the command line?
i'm looking for ways to sort a file of hex numbers
like
C3
A2
3F
From the command line
linux solutions are welcome, though i'll be using windows and cygwin or gnuwin32.

barlop
- 12,887
- 8
- 80
- 109
4
votes
2 answers
Korn-Shell for Windows 7?
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…

Max Maximus
- 779
- 10
- 14
4
votes
2 answers
emacs rgrep fails in find command (Windows 7)
This seems like a dumb question and maybe it should be directed to a forum for gnuwin32, but I'll give it a try here.
I'm using grep from within emacs for Windows. I've had to use grep-find vs rgrep, which I would prefer to use because it weeds out…

Rich von Lehe
- 1,362
- 2
- 16
- 38
3
votes
2 answers
How to run the "make" command for YoloV3 Darknet (for Windows)?
After running the ./make.exe command (By using GNUWin32), I get the following error:
mkdir -p obj
mkdir -p backup
A subdirectory or file -p already exists.
Error occurred while processing: -p. make: *** [backup] Error 1
After rerunning the…

RedGod
- 31
- 2
3
votes
3 answers
sort hex numbers of different length from the command line?
If I have a file of hex numbers of different length e.g.
1F
b
c
How can I sort them from the command line?
Linux solutions are welcome, though I'll be using windows and cygwin or gnuwin32.
Note: I clearly can't use SORT 'cos that will keep them in…

barlop
- 12,887
- 8
- 80
- 109
3
votes
5 answers
Remove digits from end of string
I want to remove digits from end of a string.
Example:
string123
example545
Output:
string
example

jake reading
- 79
- 1
- 1
- 5
3
votes
3 answers
What does the gnuwin32 program: [.exe do?
Looking in the gnuwin32/bin directory, there is an odd-looking program file named [.exe
I couldn't find it in the documentation, gnuwin32.sourceforge.net or in a google search, so I ran it and got:
$ [
[: missing `]'
$
so I gave it ] as a parameter…

Ferruccio
- 98,941
- 38
- 226
- 299
3
votes
2 answers
When will a newer version of flex for windows be available?
I'm using flex (lexical analyzer, not Adobe Flex) on a project. However, I want to be able to compile on Windows platforms as well, but the Windows version's newest version is only 2.5.4a, so it won't compile my file for version 2.5.35. And no, I…

Jorn
- 20,612
- 18
- 79
- 126
2
votes
2 answers
Where did the gnuwin32 inetutils package go?
There are traces of the gnuwin32 inetutils package on the net. But it's not at the site anymore. where is it? Specifically where is the gnu telnet app for win32?

user126593
- 2,707
- 4
- 21
- 16