Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: strange glob expansion



On Sep 2, 12:15pm, Hubert Canon wrote:
} Subject: Re: strange glob expansion
}
} Bart Schaefer écrivait :
} > % echo .scwm/{chan*,**/scwmrc*}
} 
} Not exactly. The { , } construct is somewhat different than ( | ) :
} for example, when one of the partterns fails, the whole expression
} fails.

That's what `setopt cshnullglob` is for.  I can't imagine why anyone would
not want that option when the shell is interactive; brace expansion is
practically useless without it.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author