Message-ID: From: Michel de Ruiter To: "'DJGPP workers'" Date: Wed, 10 Mar 1999 09:13:05 +0100 X-Mailer: Internet Mail Service (5.5.2448.0) Reply-To: djgpp-workers AT delorie DOT com Hello everybody, About `gzip -n', using bare MS-DOS 7.01 (without LFNs): This might very well be unappropriate for djgpp-workers, but as I brought this up here in the first place... bash$ echo $GZIP bash$ >myfile.ext bash$ gzip -n myfile.ext gzip: myfile.ext compressed to myfile.egz bash$ od -s myfile.egz 0000012 myfile.ext bash$ gunzip myfile.egz bash$ ls myfile* myfile.e bash$ exit This behaviour has two (actually one and a half) problems, IMHO. First, if `-n' is given explicitly, gzip should _not_ put a filename in the gzipped file, whatever happens, e.g. so it could be used to get a really minimal filesize. Second, if gzip still does think it has strong reasons to put the original filename in the gzipped file (because the filename gets truncated or whatever), gunzip should also use that filename by default (as if `-N' was used), to be consistent. Comments? -- *Groeten, Michel* _http://www.cs.vu.nl/~mdruiter_ ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.