On 07/17/2013 06:05 PM, sebb wrote:
Why not use: if [ "$FOO" != "" ]
Some shells do not allow that (comparing empty strings)
The . is not very obvious in some fonts, and it's more symmetrical to quote both sides.
Some time its used [ "x$FOO" != x ] The same way as '[ "x$FOO" = xyes ]', etc... Quoting both sides is just wasting two bytes, but I saw that as well, but it should be consistent trough the script. Anyhow, so far I saw no complaints about that. As far as its consistent, it's OK. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org