From 3045ae72acea6a7b4d93aa40b82cf0135dcbeea9 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Sun, 3 Mar 2013 10:45:51 +0100 Subject: [PATCH] Replace zcat by gunzip -c to fix an issue on MacOsx. Thanks to Kjeld Peters for the report. --- pgbadger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}'"; -- 2.40.0