| Quote |
| I read somewhere that some versions of bash can only use -z with number variables. Try: if [ ! -n "$MEMINFO" ] aka not not null. |
| Quote (^thehatsrule^ @ Jan. 30 2008,14:23) |
| I think that's because $() uses a subshell in order to execute the command substitution... so the variable is lost afterwards. |