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

Confused about parameters again



I've always lived under the illusion that Zsh respected empty
parameters.  However, there's apparently a difference between invoking

count-arguments () { print $# }

as

% local empty=
% count-arguments $empty

and

% count-arguments "$empty"

I guess not all parameters are created equal, after all...why?



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