Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!think!bloom-beacon!mit-eddie!bbn!rochester!cornell!batcomputer!itsgw!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.unix.wizards
Subject: Re: sh(1) command substitution and here documents
Message-ID: <11319@steinmetz.ge.com>
Date: 22 Jun 88 17:27:23 GMT
References: <1254@cadre.dsl.PITTSBURGH.EDU>
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Distribution: na
Organization: General Electric CRD, Schenectady, NY
Lines: 23

In article <1254@cadre.dsl.PITTSBURGH.EDU> jack@cadre.dsl.pittsburgh.edu.UUCP (Jack Nelson) writes:

| What I would like to do is incorporate this calculation result into a shell
| variable using the here document:
| 	#!/bin/sh
| 	var=`bc <