Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Test of possible ACSGATE on net Message-ID: <11298@smoke.BRL.MIL> Date: 16 Oct 89 04:00:07 GMT References: <16103@nswitgould.cs.uts.oz> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <16103@nswitgould.cs.uts.oz> garth_kidd%680.808@fidogate.fido.oz (Garth Kidd) writes: >Can anyone think of a tighter way of coding a filter to strip spaces >from the input stream than this? Actually, yes, but I don't want to encourage this utterly HORRIBLE program. Did you realize that unbuffered 1-byte reads/writes impose tremendous overhead? Or that many systems do not have UNIX-compatible read()/write() functions?