On Sun, Feb 26, 2012 at 10:11 PM, Dan Douglas <orm...@gmail.com> wrote:
> On Monday, February 27, 2012 04:03:34 AM Davide Baldini wrote:
>>       Is this expected? Standing at the debian's man bash, variables inside
>>       'here document' are supposed to expand with no special exceptions
>>       and undergo word splitting and pathname expansion.
>
> "If word is unquoted, all lines of the here-document are subjected to
> parameter expansion, command substitution, and arithmetic expansion."
>
> No pathname expansion.
> --
> Dan Douglas
>

Think of regular here-doc (with an unquoted word) as being treated the
same way as a double-quoted string

Reply via email to