".GIF" files
Bruce Lilly
bruce at sonyd1.Broadcast.Sony.COM
Sat Feb 23 00:42:47 AEST 1991
In article <993 at gnosys.svle.ma.us> gst at gnosys.svle.ma.us (Gary S. Trujillo) writes:
>In <1991Feb7.204039.5842 at sonyd1.Broadcast.Sony.COM>
> bruce at sonyd1.Broadcast.Sony.COM (Bruce Lilly) writes:
>
>>cat filename.gif | remsh cray giftoppm '|' ppmtopgm '|' pgmtopbm | pbmto3b1
>>:-)
>
>I've never understood why some people insist on using cat(1) to get stuff
>into the standard input of the lead program in a pipeline. I claim that:
>
> cat a | b | c
>
>is entirely equivalent in result to:
>
> b < a | c
>
>Right?
Yes, it could have been:
< filename.gif remsh cray giftoppm '|' ppmtopgm '|' pgmtopbm | pbmto3b1
(it was based on a pipeline using cat in the previous posting,
and was intended as humour (note the smiley)-- the previous
poster asked if there was a way to do the conversion in less than
3 minutes)
Note that I've put the redirection first above; that preserves
the data flow from left to right, which is also evident in the
pipeline using cat.
--
Bruce Lilly, Product Manager, | bruce at Broadcast.Sony.COM
Digital Television Tape Recording, | uunet!sonyusa!sonyd1!bruce
Sony, 3 Paragon Drive, Montvale, | lilb at sony.compuserve.com (slow)
NJ 07645-1735 | Telephone: 1(201)358-4161 | FAX: 1(201)358-4089
More information about the Comp.sys.att
mailing list