[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Test existence of shell variable, bash, csh



also sprach Karsten M. Self (on Sat, 05 May 2001 02:34:47PM -0700):
> ...but I'm not aware of a similar bash/korn/bourne feature.  Anyone?

if [ "$variable" ]; then ...

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
your fly might be open (but don't check it just now).



Reply to: