On 2/14/11 12:43 AM, Jan Schampera wrote:
> Hello world,
>
>
> I recently answered a question about using the asterisk mixed with
> redirection and other words. This also lead me to the documentation that
> states (REDIRECTION section):
>
> ---
> The word following the redirection operator in the following
> descriptions, unless otherwise noted, is subjected to brace expansion,
> tilde expansion, parameter expansion, command substitution, arithmetic
> expansion, quote removal, pathname expansion, and word splitting. If it
> expands to more than one word, bash reports an error.
> ---
>
> This is true, for here documents the exceptions are mentioned. However, for
> here strings no exceptions are mentioned ("The WORD is expanded [...]]",
> but the WORD is at least not subject to pathname expansion:
True. That is the only expansion it does not undergo.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/