EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


bashscr:check_empty_var

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:bashscr:check_empty_var [05.10.2010 13:23] eanderalxbashscr:check_empty_var [23.03.2013 18:25] (current) – Page moved from blog:bashscr:check_empty_var to bashscr:check_empty_var eanderalx
Line 2: Line 2:
  
   * If you want to check for a empty bash variable you can do this like given here:   * If you want to check for a empty bash variable you can do this like given here:
 +~~READMORE~~
 <code bash> <code bash>
 # if VAR is empty # if VAR is empty
Line 9: Line 10:
 </code> </code>
  
-  * The Statement in the if clause is true when $VAR is empty+  * When $VAR is empty the Statement in the if-clause is true
bashscr/check_empty_var.txt · Last modified: 23.03.2013 18:25 by eanderalx