bashscr:check_empty_var
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
blog:bashscr:check_empty_var [05.10.2010 13:23] – eanderalx | blog:bashscr:check_empty_var [29.11.2010 12:48] – 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: | ||
</ | </ | ||
- | * The Statement in the if clause is true when $VAR is empty | + | * The Statement in the if-clause is true when $VAR is empty |
bashscr/check_empty_var.txt · Last modified: 23.03.2013 18:25 by eanderalx