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

Re: RFE: Brace expansion with single characters



On Tue, Jan 07, 2014 at 07:49:07PM -0200, Daniel Serodio wrote:
> As a long time zsh user, I was surprised to find a bash feature missing from
> zsh: on bash, brace expansion also works with single characters, while on
> zsh only digits.

Zsh also supports this, you just need to set the BRACE_CCL
option:

    % echo {a-j}
    {a-j}
    % setopt braceccl
    % echo {a-j}
    a b c d e f g h i j

Regards
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature



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