Article View: comp.unix.shell
Article #1786Re: How do you pipe after a here document
From: Jim Rogers
Date: Tue, 13 Nov 1990 16:18
Date: Tue, 13 Nov 1990 16:18
13 lines
656 bytes
656 bytes
The following works for me: #! /bin/sh cat <<END | grep coconuts I,ve got a lovely bunch of coconuts END Jim Rogers Hewlett Packard Company
Technical Details
Message-ID:
<27620006@hp-lsd.COS.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!wuarchive!swbatl!synoptics!unix!hplabs!hpcc05!col!hpldola!hp-lsd!jimrReferences:
<1990Nov8.201508.13222@cid.aes.doe.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!wuarchive!swbatl!synoptics!unix!hplabs!hpcc05!col!hpldola!hp-lsd!jimr From: jimr@hp-lsd.COS.HP.COM (Jim Rogers) Newsgroups: comp.unix.shell Subject: Re: How do you pipe after a here document Message-ID: <27620006@hp-lsd.COS.HP.COM> Date: 13 Nov 90 16:18:44 GMT References: <1990Nov8.201508.13222@cid.aes.doe.CA> Organization: HP Logic Systems Division - ColoSpgs, CO Lines: 13