Hi Stepan,
* Stepan Kasal wrote on Tue, Nov 20, 2007 at 09:11:30PM CET:
> On Thu, Oct 18, 2007 at 11:24:14AM +0200, Ralf Wildenhues wrote:
> > If you want to get crazy, you can let awk exit after extracting the last
> > needed test.
>
> that would be hard to resist!
>
> Who knows, perhaps the attached one liner is enough?
Yes, it is. More precisely, it was, at the time that code was current.
I don't mind such a change (except you need to forward port it now), but
apparently Paolo seemed to think it was ugly for some reason.
Cheers,
Ralf
> diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
> index e50f0f8..d4fd15c 100644
> --- a/lib/autotest/general.m4
> +++ b/lib/autotest/general.m4
> @@ -880,6 +880,7 @@ emit == 0 && /[EMAIL PROTECTED]:@AT_START_/ {
> }
> emit != 0 && /[EMAIL PROTECTED]:@AT_STOP_/ {
> print "_AT_T_EOF"
> + if (test == '$at_group') exit
> emit = 0
> }
> emit != 0 { print }