[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove the rest of the comment from _AC_CACHE_DUMP
From: |
Ralf Wildenhues |
Subject: |
Re: Remove the rest of the comment from _AC_CACHE_DUMP |
Date: |
Mon, 10 Apr 2006 09:39:42 +0200 |
User-agent: |
Mutt/1.5.11 |
* Paul Eggert wrote on Mon, Apr 10, 2006 at 09:31:56AM CEST:
> Noah Misch <address@hidden> writes:
>
> >> - 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?
>
> It behaves identically, if the input contains any blank lines and the
> non-blank lines have no duplicates, which surely is the case here.
> This is because the empty line sorts before all other lines.
Note that this sorting business makes AC_C_INLINE output:
| cat >>confdefs.h <<_ACEOF
| #ifndef __cplusplus
| #define inline $ac_val
| #endif
clutter somewhat. Oh well. I guess we should be happy that it
doesn't happen in the AC_CONFIG_HEADERS file.
Cheers,
Ralf
- Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/06
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/06
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Ralf Wildenhues, 2006/04/06
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/07
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/07
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Ralf Wildenhues, 2006/04/08
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/08
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Paul Eggert, 2006/04/09
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Noah Misch, 2006/04/09
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Paul Eggert, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP,
Ralf Wildenhues <=
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Paul Eggert, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Ralf Wildenhues, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Stepan Kasal, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Ralf Wildenhues, 2006/04/10
- Re: Remove the rest of the comment from _AC_CACHE_DUMP, Paul Eggert, 2006/04/10