This was part of fetchmail deamon script,
if [ ! "x$START_DAEMON" = "xyes" -a ! "$1" = "status" ]; then
What's the point of using x$START_DAEMON = "xyes", why not just use $START_DAEMON = "yes" ?
|
|
|
I've seen cases where the On the other hand, a question on ServerFault led me to this page: http://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html, wherein one is preventing the variable expansion from starting with a character that may confuse Even so, I think this is an issue that may only be a problem in older ("Historical" as the opengroup page says) shells, and that newer implementations do the right thing without the
|
|||||||||||
|