Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Test if parameter is set
- X-seq: zsh-users 15963
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Test if parameter is set
- Date: Tue, 19 Apr 2011 18:48:57 +0200
- 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
Hi,
how can I test if a parameter is set?
Like in...
if $VAR_IS_SET; then
print Variable is set
else
print Variable is not set
fi
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author