Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
extendedglob recursion (/)#
- X-seq: zsh-workers 34632
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: extendedglob recursion (/)#
- Date: Wed, 25 Feb 2015 19:51:11 -0500
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author