Subject: bin/521: zcat uses uncompress not gzip
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Phil Nelson <phil@steelhead.cs.wwu.edu>
List: netbsd-bugs
Date: 10/17/1994 10:35:02
>Number:         521
>Category:       bin
>Synopsis:       zcat uses uncompress not gzip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 17 10:35:01 1994
>Originator:     Phil Nelson
>Organization:
"Western Washington University"
>Release:        1.0_BETA
>Environment:
System: NetBSD steelhead 1.0_BETA NetBSD 1.0_BETA (STEELHEAD) #0: Fri Sep 23 18:40:15 PDT 1994 phil@steelhead:/usr/src/sys/arch/pc532/compile/STEELHEAD pc532


>Description:
	zcat uses uncompress instad of gzip.  Therefore zcat will not zcat
	any .gz file.  (zcat using gzip will still be able to uncompress .Z 
	files.  zforce znew zmore zdiff zgrep all use gzip, why not zcat?)
>How-To-Repeat:
	man date > junk
	gzip junk
	zcat junk.gz
>Fix:
	a) remove zcat.sh from /usr/src/usr.bin/compress
	   remove zcat.1 from MLINKS in Makefile for compress
	   remove afterinstall target from Makefile for compress

	b) in Makefile for /usr/src/gnu/usr.bin/gzip:
	   add zcat.1 to MLINKS
	   uncomment "LINKS+= ${BINDIR}/gzip $BINDIR}/zcat"

	   (if we don't want to keep gzcat also, remove gzcat from
	    MLINKS and comment out the "LINKS+= .../gzcat" line.)
>Audit-Trail:
>Unformatted: