Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
checking to see if all variables are defined?
- X-seq: zsh-users 16204
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: checking to see if all variables are defined?
- Date: Tue, 9 Aug 2011 11:09:45 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=FDw6MfSEOH+NOSkXEVYOdOBJZ8H/czH6SEBCm5CXiXo=; b=ONh0kjRsSCGUVtK16yG4Rf0VFk7QJT09UpwYgmbPD9ksr+ZogF4xzPzxLEE3sJe4fm jNlVzmQ6nry5RSqyfYiUkXXkU9GvlF5qboB0Rlat25RtyjBM/Gi91oWq3qYZDkYamBNN SPW/+g+7OOkuIkfhKYb+GbwhCIyINA2sKhIb4=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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