On 26 October 2011 14:51, Peter John Hartman <peterjohnhart...@gmail.com> wrote: > I do something similar: > > if [[ $foo != "" ]]; then
[ -n "$foo" ] if you're going for POSIX.
On 26 October 2011 14:51, Peter John Hartman <peterjohnhart...@gmail.com> wrote: > I do something similar: > > if [[ $foo != "" ]]; then
[ -n "$foo" ] if you're going for POSIX.