Hi Ralf,

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?

Stepan
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 }

Reply via email to