gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: {arch} directory


From: Miles Bader
Subject: Re: [Gnu-arch-users] Re: {arch} directory
Date: Wed, 24 Sep 2003 19:45:10 -0400
User-agent: Mutt/1.3.28i

On Wed, Sep 24, 2003 at 12:33:33PM -0700, Dustin Sallings wrote:
> dustin2wti:~ 502% echo pen{,cil} pen{cil}
> pen pencil pencil

Bash at least says:  pencil pen{cil}

>       Wouldn't the latter case violate your assertion?  Either way, it's 
> kind of weird to special case expansion like that.

The historical context of this exception is that to avoid problems with the
find {} marker (which I believe predates shell brace expansion), and
standalone braces, it simply avoids expanding cases where brace expansion is
obviously pointless.

I believe (it's been a _long_ time), the original csh (which first
implemented brace expansion) used the same rules bash does.

-Miles
-- 
Next to fried food, the South has suffered most from oratory.
                        -- Walter Hines Page




reply via email to

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