Thread: [GnuWin32-Users] [gnuwin32 - Help] how to use gunzip in "Gzip for Win...
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
From: SourceForge.net <no...@so...> - 2011-10-12 04:58:12
|
Read and respond to this message at: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938 By: jeremytw gunzip is a shell script in "Gzip for Windows". How do I use it? Do I need to install some "Shell for Windows"? Where could I find it? Could you please show me the steps how to install shell and use gunzip? Thanks. _____________________________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2011-10-12 08:45:05
|
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 |
From: SourceForge.net <no...@so...> - 2011-10-12 20:53:14
|
Read and respond to this message at: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938 By: jeremytw Hi Keith, Thanks. Yes, I noted that I can invoke 'gzip -d' for gunzip. But I also install "Make for Windows", "AutoMake for Windows" and "AutoConf for Windows". I realize that "configure" is also a shell script which is too complicate for me to understand. I found this "win-bash" and tried to use it to run shell script but if the shell script also calls other executables then it cannot recognize it without .exe. Any solution? Jeremy _____________________________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2011-10-13 14:54:39
|
Read and respond to this message at: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938 By: keithmarshall [quote]But I also install "Make for Windows", "AutoMake for Windows" and "AutoConf for Windows". I realize that "configure" is also a shell script which is too complicate for me to understand.[/quote] For all of these, (well, except for a pathological dislike of automake, which I thus avoid as much as possible), I use MSYS; (you could also consider Cygwin). As I noted previously, MSYS is provided by MinGW.org. Packages are hosted at SF; use the mingw-get tool to install what you need. [quote]I found this "win-bash" ...[/quote] I've not tried that myself, but any reports I've seen, relating to it, have been discouraging. _____________________________________________________________________________________ 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 |