码迷,mamicode.com
首页 > 其他好文 > 详细

perl 打开gz压缩文件 输出gz压缩文件

时间:2019-09-17 13:12:54      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:zip   gunzip   open   can   文件   gzip   压缩文件   unzip   压缩   

打开压缩文件

open(FILE,"gunzip -c $file|") or die "can't open!";

输出压缩文件

open(my $result,"|gzip >file_name.fq.gz");

perl 打开gz压缩文件 输出gz压缩文件

标签:zip   gunzip   open   can   文件   gzip   压缩文件   unzip   压缩   

原文地址:https://www.cnblogs.com/artesian0526/p/11532766.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!