Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: RFE: Brace expansion with single characters
- X-seq: zsh-users 18296
- From: Jerry Rocteur <jerry.rocteur@xxxxxxxxx>
- To: Simon Ruderich <simon@xxxxxxxxxxxx>
- Subject: Re: RFE: Brace expansion with single characters
- Date: Wed, 8 Jan 2014 10:55:05 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dAe3pYYx1EEAuvx5P9wWf2NKogPd9gODVxyGxabEpGM=; b=ILPcy7ghHUk2HB3XLqRErMKyLqN+7pOK8bFKhqd4fw5d89bocE1/TN3RsAPaHxMFSZ CoDmPtsHvKRrvnmGpr30cxjZu/IxfF4ghERW3b6SUaKo4JQLuWmuAPU6N2YSgz281npt +ndgsyXjrS5OoBEg9qtJ+XATgvjzRNpnfKsM2MU+TP7tmrOireBz0Q45Uk/Gt0wMjBul ylCo6rTduzeHcMkYF3ALW91yPKoFYEsu0Ti5dMcrwC4ClkcQVLomwOSrxqlV1lEcLzml itRs6CBpJLla9TkJxXLSUbB4Yj22j+S/PTtKENluT3h9jGeJJzEmysghdGLmNRwgjNow wd9Q==
- In-reply-to: <20140107231117.GB3764@ruderich.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <52CC7653.9080709@dserodio.net> <20140107231117.GB3764@ruderich.org>
On Wed, Jan 8, 2014 at 12:11 AM, Simon Ruderich <simon@xxxxxxxxxxxx> wrote:
> 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
Sorry to butt in but doesn't this sound a bit rude to anyone ?
As in
echo {0..12}
Does what is expected
echo {a..z}
Does nothing as expected
setopt braceccl
echo {a-z}
does something somebody expected ?
Shouldn't there be some kind of uniformity or is this for a reason ?
The other two shells work as expected.
Thanks in advance,
Jerry
Messages sorted by:
Reverse Date,
Date,
Thread,
Author