|
From: | Paul Jarc |
Subject: | Re: (feature request) here-document, but from a file |
Date: | Sat, 02 Jul 2005 19:59:05 -0400 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
William Park <opengeometry@yahoo.ca> wrote: > It would be nice if I can read a file and process it as though it was > here-document text in the script. Mainly, I want variable substitution, > without calling lots of 'sed'. eval "blah <<EOT `cat file` EOT" But this breaks if file contains an "EOT" line. paul
[Prev in Thread] | Current Thread | [Next in Thread] |