Bug 106551

Summary: inconsistent behaviour between zcat, zless, zmore
Product: [Fedora] Fedora Reporter: Robert P. J. Day <rpjday>
Component: gzipAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: bart.martens
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-27 07:31:48 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Robert P. J. Day 2003-10-08 07:15:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)

Description of problem:
  the collection of file listing commands zcat, zless and zmore have
inconsistent behaviour.  if you have a gzipped file fred.gz, both
zcat and zless allow you to omit the suffix:

$ zcat fred
$ zless fred

  however, zmore *requires* the suffix, which is clearly non-intuitive.  i
haven't checked any of the other utilities (zgrep, etc.), but it might be nice
if they all worked consistently.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. gzip fred (to generate fred.gz)
2. zcat fred  # works
3. zmore fred # fails

Additional info:
Comment 1 Bart Martens 2004-01-31 16:50:04 EST
If you want such a zmore, then replace zmore with this script:

/bin/zcat "$@" | /bin/more

Comment 3 Ivana Varekova 2004-12-13 08:31:57 EST
Thank you for your notice. 
The problem was fixed.
Ivana Varekova
Comment 5 Ivana Varekova 2005-01-27 07:31:48 EST
Fixed in 1.3.3-15