Why would you do this:

if [ "x$var" = "x" ]; then
...
fi

The above shell programming construct is ancient, well tested and reliable as it works on the various flavours of the Bourne/Korn/Bash shells.
Keep it simple.

---
Russell P. Sutherland           Email: russ @ madhaus.cns.utoronto.ca
4 Bancroft Ave., Rm. 102        Voice: +1.416.978.0470
University of Toronto           Fax:   +1.416.978.6620
Toronto, ON  M5S 1C1
CANADA





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to