uudecode to stdout?
Larry Wall
lwall at jpl-devvax.JPL.NASA.GOV
Sat Nov 17 13:16:52 AEST 1990
In article <1990Nov16.180453.1663 at elroy.jpl.nasa.gov> pjs at 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 at jpl-devvax.jpl.nasa.gov
More information about the Comp.unix.questions
mailing list