[gnuwin32 - Help] RE: how to use gunzip in "Gzip for Win...

SourceForge.net <[email protected]> Wed, 12 Oct 2011 08:44:42 +0000
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938
By: keithmarshall

[quote]gunzip is a shell script in "Gzip for Windows".[/quote]

As you note, it's a shell script requiring a POSIX shell, so can't be run directly
from cmd.exe

[quote]How do I use it?[/quote]

If you're stuck with a brain-dead shell such as cmd.exe, you don't.  However,
read it to see what it does:--

1) Ensure that the directory containing gzip.exe is in the PATH
2) Invoke 'gzip -d' with the original arguments passed to itself

So, assuming you've already taken care of (1), just invoke 'gzip -d' yourself,
instead of gunzip, (or write your own trivial gunzip.bat replacement for the
POSIX shell script).

[quote]Do I need to install some "Shell for Windows"?[/quote]

If you're satisfied with running brain-dead cmd.exe, then "no"; if you prefer
something more *nix-like...

[quote]Where could I find it?[/quote]

...you might consider MSYS, (from MinGW.org), or Cygwin, (from cygwin.com).

_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct