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

Re: can print but not assign to variable




With EXTENDED_GLOB enabled, "#i" is treated as a glob, but this
fails because it is an invalid pattern.

	% setopt EXTENDED_GLOB
	% var=(#i)$cmd
	zsh: bad pattern: #i

I crashed into that.  Sheesh, there's one case where EXTENDED_GLOB is limiting.  Very confusing.




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