On Sat, 2 Jul 2005, William Park wrote:
Dear Chet,
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'.
In Python, you would do
print "..." % ...
So, perhaps, you can use syntax like
cat <<+ file
cat <<<< file
Why can't you use:
cat < file
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==================================================================
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
<http://www.torfree.net/~chris/books/cfaj/ssr.html>
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash