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

checking to see if all variables are defined?



Before I attempt to "reinvent the wheel"…

Does zsh (or someone on the list) already have a way to check whether
or not all variables which are referenced in a given file are actually
defined?

(I think this is called a 'lint'?)

What I'm trying to catch is situations like

echo "$FOO"

when there is no corresponding "FOO="

thanks!
TjL



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