sh(1) command substitution and here documents

Shutoku Shia smileyf at ucscb.UCSC.EDU
Sun Jun 26 11:10:55 AEST 1988


one other soln. is (instead of using here doc):

#!/bin/sh
float_var=`echo "scale = 4; 3/4" | bc"`

	Shutoku Shia

-----------------------------------------------------------------------
| Bitnet:  smileyf at ucscf.bitnet         |    formerly in              |
| Internet:  smileyf at ucscf.UCSC.EDU     | Dept. of Cmp. & Info. Sci.  |
| Arpanet: smileyf at ucscf.UCSC.EDU       | Univ. of Calif., Santa Cruz |
| Uucp:  ...!ucbvax!ucscc!ucscf!smileyf |                             |
-----------------------------------------------------------------------



More information about the Comp.unix.wizards mailing list