From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1901 invoked by alias); 8 Jan 2014 11:01:14 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18296 Received: (qmail 21153 invoked from network); 8 Jan 2014 11:01:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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== X-Received: by 10.14.148.138 with SMTP id v10mr45545200eej.37.1389174926647; Wed, 08 Jan 2014 01:55:26 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20140107231117.GB3764@ruderich.org> References: <52CC7653.9080709@dserodio.net> <20140107231117.GB3764@ruderich.org> From: Jerry Rocteur Date: Wed, 8 Jan 2014 10:55:05 +0100 Message-ID: Subject: Re: RFE: Brace expansion with single characters To: Simon Ruderich Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On Wed, Jan 8, 2014 at 12:11 AM, Simon Ruderich 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