This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow "make compare" to use "make gnucompare" automatically
On Mon, 28 Apr 2003, Alexandre Oliva wrote:
> On Apr 28, 2003, "Joseph S. Myers" <jsm28 at cam dot ac dot uk> wrote:
>
> > What is the problem with (untested)
>
> > if cmp --ignore-initial=2 t1 t2 && ! cmp --ignore-initial=1 t1 t2; then
>
> Well, for one, `! command' is not a portable shell feature.
It's portable (in POSIX), just not portable to certain very old shells the
GCC configure scripts nominally support (but I don't know if they've
actually been tested on such shells recently).
--
Joseph S. Myers
jsm28 at cam dot ac dot uk