Post, Mark K wrote:
> I have a script that writes data to a file.  One version of it
> works, the other does not.  By "works," I mean that a symbolic substitution
> is performed.

See bash man page, section "REDIRECTION / Here Documents":

       The format of here-documents is as follows:

              <<[-]word
                      here-document
              delimiter

[...]

       If any characters in word are
       quoted, the delimiter is the result of quote removal on word,  and  the
       lines  in the here-document are not expanded.  If word is unquoted, all
       lines of the here-document are subjected to parameter  expansion,  com-
       mand  substitution,  and arithmetic expansion.


Regards,
  Peter Oberparleiter

Reply via email to