Hello, zgrep --version z$grep (gzip) 1.3.12 Copyright (C) 2007 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly. This works: zgrep -9 marclatz syslog-20131031.gz | wc -l 19 And this: zgrep -C 10 marclatz syslog-20131031.gz | wc -l 21 This does not work: zgrep -10 marclatz syslog-20131031.gz | wc -l gzip: marclatz.gz: No such file or directory 2092205 But this works: gunzip -c syslog-20131031.gz | grep -10 marclatz | wc -l 21 greetings -- Horst Scheuermann Zentrum für Informations-, Medien- und Kommunikationstechnologie (ZIMK) Universität Trier 54286 Trier Tel.: +49 651 201/3436 Fax: +49 651 201/3921 E-Mail: [email protected]
