William Park <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to