[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test "$foo" = "$bar" vs test x"$foo" = x"$bar"
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: test "$foo" = "$bar" vs test x"$foo" = x"$bar" |
Date: |
Wed, 25 Feb 2015 11:32:02 -0500 |
On Wed, 2015-02-25 at 11:27 -0500, Jordi Gutiérrez Hermoso wrote:
> but having both the leading x and the quotes is redundant.
btw, we have a lot of comparisons both with and without leading x's in
our configure.ac. I would like to normalise all usages one way or the
other, depending what is correct and portable across shells.
- Jordi G. H.