Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bu-cs!mirror!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Test of possible ACSGATE on net Message-ID: <14906@haddock.ima.isc.com> Date: 17 Oct 89 03:17:31 GMT References: <16103@nswitgould.cs.uts.oz> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 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 If tightness is of more concern than portabililty off UNIX, you could use main(){system("tr -d ' '");} which can be further improved by making it a shell script. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint