[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax Question...
From: |
Chet Ramey |
Subject: |
Re: Syntax Question... |
Date: |
Thu, 18 Aug 2011 10:52:15 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
On 8/18/11 9:02 AM, Linda Walsh wrote:
> The word following the redirection operator in the following descrip-
> tions, unless otherwise noted, is subjected to brace expansion, tilde
> expansion, parameter expansion, command substitution, arithmetic expanâ
> sion, quote removal, pathname expansion, and word splitting. If it
> expands to more than one word, bash reports an error.
>
> It seems to leave off variable expansion.
Parameter expansion and variable expansion are the same thing. A variable
is a parameter denoted by a name. The man page is inconsistent in its
usage -- some places it says "parameter and variable expansion" -- but
there's no difference. Posix, for example, does not use the term
variable expansion at all.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: Syntax Question..., (continued)
- Re: Syntax Question..., Chet Ramey, 2011/08/18
- Re: Syntax Question..., Greg Wooledge, 2011/08/18
- Re: Syntax Question..., Chet Ramey, 2011/08/18
- Re: Syntax Question..., Greg Wooledge, 2011/08/18
- Re: Syntax Question..., Chet Ramey, 2011/08/18
- Re: Syntax Question..., Linda Walsh, 2011/08/18
- Re: Syntax Question..., Ken Irving, 2011/08/18
- Re: Syntax Question..., Linda Walsh, 2011/08/18
- Re: Syntax Question..., Greg Wooledge, 2011/08/18
- general bash oddities and discussion (was Re: Syntax Question...), Linda Walsh, 2011/08/18
- Re: Syntax Question...,
Chet Ramey <=
- Re: Syntax Question..., Dennis Williamson, 2011/08/15
- Re: Syntax Question..., Linda Walsh, 2011/08/15
- Re: Syntax Question..., Greg Wooledge, 2011/08/16
- Re: Syntax Question..., Dennis Williamson, 2011/08/16
- Re: Syntax Question..., Linda Walsh, 2011/08/16
- Re: Syntax Question..., Dennis Williamson, 2011/08/16
- Re: Syntax Question..., Greg Wooledge, 2011/08/17
- Re: Syntax Question..., Ken Irving, 2011/08/16
- Re: Syntax Question..., Dennis Williamson, 2011/08/16
- Re: Syntax Question..., Linda Walsh, 2011/08/16