zsh-users
 help / color / mirror / code / Atom feed
* Test if parameter is set
@ 2011-04-19 16:48 Thorsten Kampe
  2011-04-19 17:19 ` Frank Terbeck
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thorsten Kampe @ 2011-04-19 16:48 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-19 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 16:48 Test if parameter is set Thorsten Kampe
2011-04-19 17:19 ` Frank Terbeck
2011-04-19 17:22 ` Stephane Chazelas
2011-04-19 17:26 ` Peter Stephenson
2011-04-19 17:32   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).