[Swift-commit] r6199 - SwiftApps/modis/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Jan 30 22:35:02 CST 2013


Author: davidk
Date: 2013-01-30 22:35:01 -0600 (Wed, 30 Jan 2013)
New Revision: 6199

Modified:
   SwiftApps/modis/bin/ppmhist.pl
Log:
zcat


Modified: SwiftApps/modis/bin/ppmhist.pl
===================================================================
--- SwiftApps/modis/bin/ppmhist.pl	2013-01-31 04:13:57 UTC (rev 6198)
+++ SwiftApps/modis/bin/ppmhist.pl	2013-01-31 04:35:01 UTC (rev 6199)
@@ -4,7 +4,7 @@
 
 # Read file
 my $ppm_filename = shift;
-open(PPMFILE, $ppm_filename) || die "Unable to open $ppm_filename!\n";
+open(PPMFILE, "zcat $ppm_filename|") || die "Unable to open $ppm_filename!\n";
 my @ppm_data = <PPMFILE>;
 close(PPMFILE);
 




More information about the Swift-commit mailing list