if -z


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting if -z
# 1  
Old 06-19-2008
if -z

hi,

can anyone help me by saying what exactly the '-z' will do..

thanks,

Krips.
# 2  
Old 06-19-2008
In ksh and bash it means "true", if string is empty.

Korn shell scripts
http://tldp.org/LDP/abs/html/refcards.html#AEN20644
# 3  
Old 06-19-2008
thanks a lot zaxxon..Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question