Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: extendedglob recursion (/)#



On 02/25/2015 07:51 PM, Eric Cook wrote:
> 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.
>
>
On second thought, recursing into the directories below /wouldn't make
much sense with that pattern.
So nevermind about the question, just a bug report.



Messages sorted by: Reverse Date, Date, Thread, Author