Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!spool.mu.edu!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu6!rik From: rik@monu6.cc.monash.edu.au (Rik Harris) Newsgroups: comp.sys.amiga.introduction Subject: Re: Whatza .Z file? Message-ID: <1991Apr16.022028.1053@monu6.cc.monash.edu.au> Date: 16 Apr 91 02:20:28 GMT References: <8760@ucdavis.ucdavis.edu> <1991Apr11.104812.4833@monu6.cc.monash.edu.au> Organization: Monash University, Caulfield Campus Lines: 43 lord_zar@ucrmath.ucr.edu (wayne wallace) writes: >rik@monu6.cc.monash.edu.au (Rik Harris) writes: >>[discussion about .Z/compress deleted] >>>@Use the ``FILES.Z'' file to locate any archivers you need. >> ^^ >> ^^^^^^^ >>Isn't this a tad silly? How would a new user get compress to >>uncompress the file that tells him/her where the compress program is? >>just curious :-) >Ever hear of zcat? You don't need to use compress to read a .Z file. >zcat filename | (Your favorite pager. Ie less, more.) >Try this alias in your .cshrc: >alias z 'zcat \!* | $PAGER' >($PAGER is a nice variable to have. Using 'less' with the system manual is >very nice) >Then you just 'z filename' to view it. Ever thought that zcat and uncompress might be the same program. Under UNIX (where compress was first commonly used) it is simply the same binary with a different name (hard link - even takes up the same diskblocks). The versions of compress I have had for the amiga are called with 'compress -c'. I have an alias for zcat which is: alias zcat 'uncompress -c' It's the SAME program >Wayne rik -- Rik Harris - rik@sola.fcit.monash.edu.au or rik@monu6.cc.monash.edu.au new address! rik.harris@monash.edu.au Faculty of Computing and Information Technology, Monash University, Caulfield Campus, Australia