From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11720 invoked by alias); 19 Mar 2015 23:15:37 -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: 20027 Received: (qmail 26088 invoked from network); 19 Mar 2015 23:15:33 -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,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type:in-reply-to; s= mesmtp; bh=VvCFrYx6qP8dnxZwVkpyu0TaacQ=; b=i4HL5C7sBfc/aKF53TcNW fzhJ5gRF2682A90obwHI5GNyqaibLCe+ONGlXggFYiiq6K8DyNm9Pq8Fk2OWQYut 4eNSZoHlAfeRcsAfqLrRgm6wwiVoh3v0vfwHGjLw5rd46DbtKTcBs3mDGk6mE9sL 54FQ1gL4JL3WyzvzCFIfGw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type:in-reply-to; s= smtpout; bh=VvCFrYx6qP8dnxZwVkpyu0TaacQ=; b=SAm61DEqiqs4bKOyDGPT x30WwWQDCVFxcLfaoTjO+z6k3t7rtFzS5T2ymRA6h2v1WoR1I8MWGAjIXz1RqoCd VuDKbsff4vYTaU6xn5nie174tZX+XDWdKAXAqjlo5mQgG0Bp1jAEhipkP7BIA1N4 xmfQSutjRUsh5kdFeV8kxT4= X-Sasl-enc: hUG/vSiQqkiWtJmINmeEyDwu7p83ezrMeazyenj6Dnm1 1426806931 Date: Thu, 19 Mar 2015 23:15:29 +0000 From: Daniel Shahaf To: Mikael Magnusson Cc: Zsh Users Subject: Re: GLOB_COMPLETE and numbered directories Message-ID: <20150319231529.GC2653@tarsus.local2> References: <20150319073238.GN3548@tarsus.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mikael Magnusson wrote on Thu, Mar 19, 2015 at 10:16:02 +0100: > On Thu, Mar 19, 2015 at 8:32 AM, Daniel Shahaf wrote: > > % mkdir -p {bar,baz}/iota > > % cat b/i ... > > % mkdir -p {10a,11a}/iota > > % cat 1/i > > Are you sure the difference isn't because your differing character is > now not the last character of the directory name? Yes, if I use 'bra' and 'bza' as the filenames, I get the same behaviour as in the '10a'/'11a' case: it leaves me with 'ba/iota'. So it's not about numbered directories, it's about disambiguating. Thanks for pointing this out. Daniel