delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/22/00:03:09

From: jqb AT netcom DOT com (Jim Balter)
Subject: Re: gunzip question
22 Mar 1997 00:03:09 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33336C35.2136.cygnus.gnu-win32@netcom.com>
References: <199703212053 DOT MAA25431 AT beavis DOT CS DOT Berkeley DOT EDU>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: Trey Jackson <trey AT cs DOT berkeley DOT edu>
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Trey Jackson wrote:
> 
> Read the FAQ, read the online mailing list archive,
> still no answer, so am sending my question here.
> 
> I've got b17, which includes:
> 
>    GUNZIP.EXE 1.2.4 (18 Aug 93)
>    Compilation options:
>    DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV
> 
> gunzip's default behavior is to *compress* and not
> decompress.  May I ask why?  And how do I change this
> so that I do not have to type:
> 
>    gunzip -d <file>
> 
> every time I want to uncompress something.
> 
> e.g. This is what I encounter:
> 
>    C:\cygnus\H-i386-cygwin32\bin>gunzip resume.txt.gz
>    GUNZIP.EXE: resume.txt.gz already has .gz suffix -- unchanged

Subtle.  What command processor are you using?  For some reason it is
passing the command name as "GUNZIP.EXE" instead of "gunzip",
but the comparison that decides how the program was invoked
is case sensitive.  It is also possible that you have an alias, or are
invoking a batch file, or some version other than the cygwin version.
Check your path. 

--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019