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

[BUG] Glob handling is brittle



The script below reliably makes zsh hang.

(ksh93 hangs, too. mksh, bash, yash, and ash variants execute it in no time at all.)

- M.

case '\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' in
( *\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\\
*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\* )
	echo ok ;;
esac



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