bug-bash
[Top][All Lists]
Advanced

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

Re: brace expansion and variable expansion


From: Chet Ramey
Subject: Re: brace expansion and variable expansion
Date: Mon, 22 Mar 2004 08:54:51 -0500

> On Sat, Mar 20, 2004 at 06:38:18PM -0500, Chet Ramey wrote:
> } Gregory Seidman wrote:
> } >Brace expansion does not occur after variable expansion. 
> } 
> } As is stated fairly clearly in the documentation.
> 
> Is this documentation other than the man page? There is no mention of it
> in the man page as far as I could see. And even documented, I'd consider
> it a bug.

How's this?

       Brace expansion is performed before any other expansions, and any char-
       acters  special to other expansions are preserved in the result.  It is
       strictly textual.  Bash does not apply any syntactic interpretation  to
       the context of the expansion or the text between the braces.

This is from the BRACE EXPANSION section.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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