On 10 February 2011 18:56, Dr. David Kirkby <david.kirkby@xxxxxxxxxx> wrote: > I know its considered bad practice to check for an empty string with > something like: > > if [ "$STR" = "" ] ; then > > but what shells do actually break with this, and under what conditions? > > > I was proposing someone change a test like that to > > if [ "x$STR" = ] ; then Oops, I meant to put if [ "x$STR" = x ] ; then _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf