From mboxrd@z Thu Jan 1 00:00:00 1970 From: cowan@mercury.ccil.org (John Cowan) Date: Tue, 15 Jul 2014 23:53:03 -0400 Subject: [TUHS] the sin of buffering [offshoot of excise process from a pipeline] In-Reply-To: <20140716003220.GA24974@mcvoy.com> References: <201407152343.s6FNhnUT001960@coolidge.cs.dartmouth.edu> <20140716003220.GA24974@mcvoy.com> Message-ID: <20140716035303.GO10065@mercury.ccil.org> Larry McVoy scripsit: > Want your stream compressed or uncompressed? > > fpush(&stdin, fopen_vzip(stdin, "r")); Me, I would have done it with freopen(stdin, "rv"). -- John Cowan http://www.ccil.org/~cowan cowan at ccil.org Si hoc legere scis, nimium eruditionis habes.