Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.shell Subject: Re: How do you pipe after a here document Message-ID: <1990Dec02.002915.16848@virtech.uucp> Date: 2 Dec 90 00:29:15 GMT References: <1990Nov8.201508.13222@cid.aes.doe.CA> <27620006@hp-lsd.COS.HP.COM> <1F37P47@xds13.ferranti.com> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 24 In article <1F37P47@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes: >OK, so how do you pipe that here document through: > > while read foo bar baz > do > .... > done With the following: #! /bin/sh cat <