Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!cs326ag From: cs326ag@ux1.cso.uiuc.edu (Loren J. Rittle) Newsgroups: comp.sys.amiga.programmer Subject: Re: Looking for a filter... Message-ID: <1991Mar20.141125.14231@ux1.cso.uiuc.edu> Date: 20 Mar 91 14:11:25 GMT References: <1991Mar20.063403.8708@menudo.uh.edu> Reply-To: l-rittle@uiuc.edu (Loren J. Rittle) Organization: University of Illinois at Urbana Lines: 33 In article <1991Mar20.063403.8708@menudo.uh.edu> honp9@menudo.uh.edu (Jason L. Tibbitts III) writes: >I'm trying fo find a simple text filter that will take linefeeds out of a >stream. No big deal, but an hour with Aquarium reveals nothing. I'd >write my own, but, well, there's this thing called homework... In that hour you spent looking through Aquarium, you could have written the damn C or Rexx program to do the job! Actually, in the time you took to post your message you could have hacked out the following ARexx program: /* Simple text filter */ do forever; parse pull inline; if eof(stdin) then leave; say compress(inline, '0d'x); end; > >Anyway, I'd appreciate any guidance. You're welcome. > >-- >Jason L. Tibbitts III | Moderator: comp.sys.amiga.reviews >"Blob Shop Programmers:| Send submissions to HONP9@menudo.uh.edu > Because We're Bored!" | Check comp.sys.amiga.reviews for submissions >Disclaimer: Opinions...| guide, disclaimers, etc. Fnord. Loren J. Rittle -- ``NewTek stated that the Toaster *would* *not* be made to directly support the Mac, at this point Sculley stormed out of the booth...'' --- A scene at the recent MacExpo. Gee, you wouldn't think that an Apple Exec would be so worried about one little Amiga device... Loren J. Rittle l-rittle@uiuc.edu