autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove the rest of the comment from _AC_CACHE_DUMP


From: Noah Misch
Subject: Re: Remove the rest of the comment from _AC_CACHE_DUMP
Date: Sun, 9 Apr 2006 18:24:53 -0700
User-agent: Mutt/1.5.6i

On Sat, Apr 08, 2006 at 11:30:48PM -0700, Paul Eggert wrote:
>       * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
>       apostrophe within a single-quoted string, as this is the usual
>       tradition and is easier to read than '"'"'.  Don't rely on the
>       shell treating "$/" like '$/'.  Use a more-consistent indenting
>       style for the trap.

> --- lib/autoconf/general.m4   8 Apr 2006 21:46:04 -0000       1.903
> +++ lib/autoconf/general.m4   9 Apr 2006 06:29:28 -0000       1.905

>      if test -s confdefs.h; then
>        AS_BOX([confdefs.h.])
> -      echo
> -      sed "/^$/d" confdefs.h | sort
> +      sort -u confdefs.h

What is the idea behind this change?  `sort -u FOO' behaves rather differently
from `echo; sed '/^$/d' FOO | sort', no?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]