Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com From: "Ralf Habacker" To: "Cygwin-Apps" Subject: zcat listing problem Date: Sun, 25 Nov 2001 21:08:30 +0100 Message-ID: <000601c175ec$f3d10ce0$4d1e06d5@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Hi, I'm using zcat to list the compressed package files in /etc/setup. zcat has problems with linefeed/carriage return as shown below: $ zcat /etc/setup/pcre.lst.gz usr/bin/pcre-config usr/bin/pcregrep.exe usr/include/pcre.h usr/include/pcreposix.h usr/lib/libpcre.a usr/lib/libpcreposix.a usr/man/man 1/pcregrep.1 usr/man/man3/pcre.3 usr/man/man3/pcreposix.3 Additional a zcat --help prints the following: $ zcat --help zcat 1.3 (1999-12-21) usage: zcat [-acdfhlLnNrtvV19] [-S suffix] [file ...] -a --ascii ascii text; convert end-of-lines using local conventions -c --stdout write on standard output, keep original files unchanged -d --decompress decompress -f --force force overwrite of output file and compress links -h --help give this help -l -- list list compressed file cont ents -L --license display software license -n --no-name do not save or restore the original name and time stamp -N --name save or restore the original name and time stamp -q --quiet suppress all warnings -r --recursive operate recursivel y on directories -S .suf --suffix .suf use suffix .suf on compressed files -t --test test compressed file integrity -v --verbose verbose mode -V --version display version number -1 --fast compress faster -9 --best compress better file... files to (de)compress. If none given, use standard input. Report bugs to . zcat --help Regards Ralf