From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25616 invoked by alias); 14 Aug 2011 22:57:00 -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: 29686 Received: (qmail 13576 invoked from network); 14 Aug 2011 22:56:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110814155647.ZM19699@torch.brasslantern.com> Date: Sun, 14 Aug 2011 15:56:47 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Re: (#cN,M) error, %? doesn't glob" (Aug 14, 9:44am) References: <110623211249.ZM11110@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: (#cN,M) error, %? doesn't glob MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Aug 14, 9:44am, Mikael Magnusson wrote: } } The flag tt(LPAR()#c)var(N)tt(,)var(M)tt(RPAR()) can be used anywhere } that the tt(#) or tt(##) operators can be used except for in the expressions } `tt((*/)#)' and `tt((*/)##)' while globbing, which are handled specially; } it cannot be combined with other globbing flags and a bad pattern error } occurs if it is misplaced. Make it except in the expressions `tt((*/)#)' and `tt((*/)##)' in filename generation, where `tt(/)' has special meaning; and I'm all for it.