Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!uakari.primate.wisc.edu!samsung!olivea!mintaka!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.shell Subject: Re: How do you pipe after a here document Message-ID: <1990Nov8.221332.10882@athena.mit.edu> Date: 8 Nov 90 22:13:32 GMT References: <1990Nov8.201508.13222@cid.aes.doe.CA> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Distribution: na Organization: Massachusetts Institute of Technology Lines: 22 In article <1990Nov8.201508.13222@cid.aes.doe.CA>, afsipmh@cidsv01.cid.aes.doe.CA writes: |> #! /bin/sh |> cat < I,ve got |> a lovely |> bunch of coconuts |> END |> | grep coconuts This seems to work for me: cat <