Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.unix.questions Subject: Re: uudecode to stdout? Message-ID: <10438@jpl-devvax.JPL.NASA.GOV> Date: 17 Nov 90 02:16:52 GMT References: <1990Nov16.180453.1663@elroy.jpl.nasa.gov> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 14 In article <1990Nov16.180453.1663@elroy.jpl.nasa.gov> pjs@euclid.jpl.nasa.gov writes: : I would like to be able to send the output of uudecode to : standard output so I can pipe it to other things, but it : seems to require an actual file. I suppose I could modify : the "begin" line with sed to send to a file in /tmp, then : cat that file and remove it, but... yech. Anyone got any : ideas that don't require writing C code? How 'bout this? perl -ne 'next if 1../begin/; last if /end/; print unpack("u",$_)' in >out Larry Wall lwall@jpl-devvax.jpl.nasa.gov