Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!primerd!damogran!franl From: franl@damogran.prime.com Newsgroups: comp.unix.questions Subject: Re: Debugging ksh scripts Message-ID: <34200001@damogran> Date: 8 Jul 89 22:36:00 GMT References: <1844@cbnewsh.ATT.COM> Lines: 20 Nf-ID: #R:cbnewsh.ATT.COM:-184400:damogran:34200001:000:414 Nf-From: damogran.prime.com!franl Jul 8 18:36:00 1989 Look for something like this: if [ $VAR ] then ... fi which is testing (poorly) whether the value of the variable VAR is not the null string. When VAR is not set, it is interpreted as if [ ] <=== here, "[" (aka "test") has no arguments! then ... fi -- Fran Litterio Internet: franl@damogran.prime.com Usenet: {uunet | csnet-relay}!primerd!damogran!franl Voice: USA-508-879-2960 x4251