From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17041 invoked by alias); 31 Oct 2015 09:24:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37030 Received: (qmail 15175 invoked from network); 31 Oct 2015 09:24:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=cxfYu9FLycy9nSRmWXwTLbhIQ9H88NHxYyDg1MQT5Ww=; b=PEsUn2MPY2CQhWjmsr9icngJfvn7i36e5bf1dgZw9IXw67vzS286qqdgHBTNbAwHmz 1RddGKcghaTYWcXdCm6tRj+U4zmx4je4Z3SSaJvSzB8wiVf3k4B1lo/wfHXMDB8LsbjV 1QonddPJFqMi8an1U2/NsNvS73LtugcO9K+GoxrSKz7CPTlpN9y/lF8kI2PFOKcaGHVs C11RLmDiF6UhcWmh6qhQZy0j22FUrxcqPJOx7t3/hiYkxIJSdJRDPnQsi0GaladPSugg ayVqoTSCvFiaSOnWsvfj2/M/qcRwVbP4IKQ5EbHdVb3MlDyodePaq2cAkeFoCrwKVAhn aJZA== X-Received: by 10.194.186.196 with SMTP id fm4mr15411260wjc.152.1446283456036; Sat, 31 Oct 2015 02:24:16 -0700 (PDT) Date: Sat, 31 Oct 2015 09:24:14 +0000 From: Stephane Chazelas To: Bart Schaefer Cc: Zsh Hackers' List Subject: Re: Recursive globbing shorthand (a la **.c) Message-ID: <20151031092414.GA5301@chaz.gmail.com> Mail-Followup-To: Bart Schaefer , Zsh Hackers' List References: <20151028065702.GA8236@linux.vnet.ibm.com> <20151029105343.67b579f3@pwslap01u.europe.root.pri> <20151030093004.440c0034@pwslap01u.europe.root.pri> <151030085035.ZM18998@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151030085035.ZM18998@torch.brasslantern.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2015-10-30 08:50:35 -0700, Bart Schaefer: > On Oct 30, 9:30am, Peter Stephenson wrote: > } > } Here's a patch with documentation. > > Just for the record, this is a place where I begin to agree with Kurtis's > "all things to all people" criticism. > > You'd now best be sure that setting this option isn't going to break > completion six ways from Sunday. It reminds me of the discussion about: *$var*/foo or even *"$var"*/foo Which do a recursive glob when $var is empty. I suppose with the new option, things like *$empty* would also have to be considered. (probably not a big issue. Note that bash -O globstar and ksh93 -o globstar are already affected by that (and yash -o extended-glob -c 'echo *$empty*/*' like zsh)). -- Stephane