On Mon, Sep 08, 2003 at 12:59:24PM -0500, Adam Heath wrote: > On Sun, 7 Sep 2003, Guido Guenther wrote: > > On Sun, Sep 07, 2003 at 10:23:15AM -0500, Branden Robinson wrote: > > > if [ -n "$var" ]; then > > > fi > > > > Just of out curiosity, is this in any way different from the shorter: > > if [ "$var" ]; then > > fi > > var="-f" Have you tried that? No POSIX shell will have a problem. -- Colin Watson [cjwatson@flatline.org.uk]