From: Darold Gilles Date: Sun, 3 Mar 2013 09:45:51 +0000 (+0100) Subject: Replace zcat by gunzip -c to fix an issue on MacOsx. Thanks to Kjeld Peters for the... X-Git-Tag: v3.2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3045ae72acea6a7b4d93aa40b82cf0135dcbeea9;p=pgbadger Replace zcat by gunzip -c to fix an issue on MacOsx. Thanks to Kjeld Peters for the report. --- diff --git a/pgbadger b/pgbadger index b5a0113..0e4192b 100755 --- a/pgbadger +++ b/pgbadger @@ -110,7 +110,7 @@ $| = 1; my $JQGRAPH = 1; # Command line options -my $zcat = 'zcat'; +my $zcat = 'gunzip -c'; my $bzcat = 'bunzip2 -c'; my $ucat = 'unzip -p'; my $gzip_uncompress_size = "gunzip -l %f | grep -E '^\\s*[0-9]+' | awk '{print \$2}'";