Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.unix.shell Subject: Re: How do you pipe after a here document Message-ID: <1990Nov8.233350.8495@mp.cs.niu.edu> Date: 8 Nov 90 23:33:50 GMT References: <1990Nov8.201508.13222@cid.aes.doe.CA> Distribution: na Organization: Northern Illinois University Lines: 36 In article <1990Nov8.201508.13222@cid.aes.doe.CA> afsipmh@cidsv01.cid.aes.doe.CA () writes: > > I want to do something like the following: > >#! /bin/sh >cat <I,ve got >a lovely >bunch of coconuts >END >| grep coconuts > >The above doesn't work so how can I do it? How about: grep coconuts < Northern Illinois Univ. DeKalb, IL 60115. +1-815-753-6940