From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22896 invoked by alias); 26 Feb 2015 00:56:36 -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: 34632 Received: (qmail 3632 invoked from network); 26 Feb 2015 00:56:34 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Message-ID: <54EE6DFF.7010901@gmx.com> Date: Wed, 25 Feb 2015 19:51:11 -0500 From: Eric Cook User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: extendedglob recursion (/)# Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:XBAGdIk1sq+S4xxUiPGhZFomieTGClT+HQBYCDkCqx3LNGAA9we XUMHe7dSx4ufAbAWeaK7jxN23CQg3QB7dM0uBtZY37STlzN55sJRjo2vWAbUyiY/Q3ZNy9c L/CAzHmZftWLKX6kFsVldRhU537+JUioN95Ou+LmNtJ/MmBe2/g5Ny9AGHAPelZJpt++rZH uWe0qn5N2nPyD3ppVZrJw== X-UI-Out-Filterresults: notjunk:1; Playing around in IRC with the command: setopt extendedglob; print (/)# # or /usr/(/)#, etc. zsh starts to recurse / repeatedly and eventually(errors and) prints / // ///... Mikachu | % pl (/)#|wc -l Mikachu | glob.c:276: BUG: statfullpath(): pathname too long What should the 'proper' behavior be? Recursing into directories below / or just printing `/' I am in favor of the latter personally.