Article View: gnu.gcc.help
Article #41432fopen a gzip'd file???
From: James Smith
Date: Fri, 05 Apr 1996 00:00
Date: Fri, 05 Apr 1996 00:00
9 lines
887 bytes
887 bytes
Hi,
I'm wondering if you can read/write to/from a compressed or gzip'd file
like you can with perl. e.g. OPEN(IDNETIFIER,"gzip filename.gz|").
I have to do text processing on VERY large files and would like to preserve
as much diskspace as possible. Currently i start a gzcat into a named pipe
and have the C program open and read from the pipe. Does anyone know of
a gcc contruct that could do this?
Thanks
James Smith
Technical Details
Message-ID:
<4k42bp$2r4@news.unicomp.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f1871287204e24e,start X-Google-Attributes: gid11318c,public From: jamess@PROBLEM_WITH_INEWS_DOMAIN_FILE (James Smith) Subject: fopen a gzip'd file??? Date: 1996/04/05 Message-ID: <4k42bp$2r4@news.unicomp.net> X-Deja-AN: 145999928 organization: I need to put my ORGANIZATION here. newsgroups: gnu.gcc.help