bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pathname expansion not performed in Here Documents


From: Dan Douglas
Subject: Re: Pathname expansion not performed in Here Documents
Date: Sun, 26 Feb 2012 21:11:33 -0600
User-agent: KMail/4.7.4 (Linux/3.1.6-pf; KDE/4.7.4; x86_64; ; )

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]