GnuWin 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]
30 questions
22
votes
3 answers
Difference between UnxUtils and GnuWin32?
I am a Windows user who wants programs like grep and sed along with other utilities like ls, cut etc in my command prompt. I came across 2 packages which would accomplish this
UnxUtils
GnuWin32
I would like to know what is the difference between…
Stormshadow
- 797
- 2
- 7
- 15
15
votes
1 answer
When using "gzip --decompress", the result is "gzip: MYFILE.zip: unknown suffix -- ignored" on Windows
In Windows PowerShell (if it matters), I would like to decompress a zip file with gzip with the argument --decompress, but unfortunately it doesn't work. Please look at the screenshot below.
gzip --decompress "colorbox.zip"
its result:
gzip:…
Sk8erPeter
- 1,090
- 3
- 12
- 25
8
votes
1 answer
What does the grep switch --color=auto do?
What effect does auto as an option for the --color switch have in grep? When does grep decide to color the the matching strings, and when doesn't it?
Trolzen
- 381
- 3
- 12
5
votes
1 answer
Why won't GNU find work recursively on Windows 7?
I have the full gnuwin32 installation on my Win7 box. From the shell (cmd.exe), I can execute
c:\gnuwin32\bin\find.exe .
from a directory and get a list of all the files recursively. What I am trying to do is find all files with filenames ending…
Andrew
- 215
- 4
- 14
4
votes
2 answers
Count lines fast
I'm running Windows 7 and have GnuWin32. I have a several-gigabyte text file with LF (\n) line endings. I want to know how many lines it has (or alternatively how many LFs it has, which is, let's say, one fewer, but I don't care). What's the fastest…
msh210
- 225
- 3
- 15
4
votes
3 answers
Sed for windows
I am attempting to use SED for the first time. To complicate matters, I am using it in Windows. I downloaded from this source. Since I don't have installation privileges on my work machine, I created a folder in my profile for executables and added…
TheSavo
- 392
- 1
- 3
- 13
4
votes
4 answers
How do I mount an NTFS image created by GNU NTFSclone on Windows?
How do I mount an NTFS image created by GNU NTFSclone on Windows? Neither the gnuwin32 version of NTFSclone nor Cygwin’s mount seem to be capable.
user64996
- 8,277
- 4
- 18
- 15
2
votes
1 answer
sed without regex
I am using GNU SED for find and replace functionality on large files(upto 2GB).
Find and replace characters can contain any characters, hence I want find and replace parameters to be treated as plain text as it comes.
I do not want to treat either…
sagar
- 129
- 3
2
votes
3 answers
What command to use to unpack a .tar.gz file in Windows?
I use to receive tar.gz files fromm colleagues but unpacking them with 7zip is not convenient as it unpacks a tar file from gz first while I usually seek to get the tar file contents (so I have to unpack the tar file explicitly next).
I've tried…
Ivan
- 6,923
- 28
- 64
- 95
2
votes
1 answer
Prompt a user and wait for response
In GNUwin32 or UnxUtils, is there a way to prompt a user to "Press enter to continue" and wait for the enter key, such as the unix 'read' command. I used to have an old command 'ask' that would do something similar.
Bill
- 21
- 1
2
votes
1 answer
Is there a technical reason why gnuwin32 doesn't contain ssh?
How come gnuwin32 while it has a big collection of utilities, seems to have missed out such an important one - SSH?
http://gnuwin32.sourceforge.net/packages.html
--
Note- I see Diago closed the question..
The question -can- be answered objectively.…
barlop
- 21,540
- 37
- 125
- 196
2
votes
1 answer
grep on Windows XP vs. Windows 7
I am using grep from Gnuwin32 on Windows.
On Windows XP, the following
grep -e "foo" NUL
results in the following output
grep: NUL: invalid argument
On Windows 7, the same arguments result in no output at all.
grep just exits without any error…
cschol
- 872
- 8
- 16
2
votes
1 answer
use bsdtar to generate zip file
i'm using GnuWin32's bsdtar, to extract it's simple:
bsdtar xvf c:\test.zip -C c:\temp\
but i failed to create zip files. I tried
bsdtar -cf test.zip a.csv b.csv
but the generated file couldn't be opened by winzip.
what's the correct way to…
athos
- 2,125
- 10
- 35
- 53
1
vote
3 answers
grep on Windows 7 Invalid Argument
I am using grep from Gnuwin32 on Windows.
Doing:
grep -r INSERT *.sql
Yields:
grep: *.sql: Invalid argument
Any idea why?
Mike
- 113
- 4
1
vote
1 answer
plotutils: `graph` creates empty plots
I'm trying to create simple plots using graph as described in this tutorial. However, even the most basic example:
echo 0 0 1 1 2 0 | graph -T png > plot.png
produces a perfectly white 570x570 picture. The picture looks normal otherwise, having a…
Dmitry Grigoryev
- 8,643
- 3
- 37
- 69