[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed (`t') issue
From: |
Ralf Wildenhues |
Subject: |
sed (`t') issue |
Date: |
Thu, 25 May 2006 08:16:30 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
I have never really grasped the "sed (`t')" issue in autoconf.texi.
Only now it dawned on me that was because the description may simply
be wrong.
OK to apply (patch shown without reindenting, to show what's been
changed)?
Cheers,
Ralf
* doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
Fix description of how the buggy `sed' works.
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.1021
diff -u -r1.1021 autoconf.texi
--- doc/autoconf.texi 22 May 2006 17:27:50 -0000 1.1021
+++ doc/autoconf.texi 25 May 2006 06:13:50 -0000
@@ -13369,8 +13372,8 @@
deleted
@end example
-Why? When processing line 1, (a) matches, therefore sets the @samp{t}
-flag, (b)b jumps to (d), and the output is produced. When processing
+Why? When processing line 1, (c) matches, therefore sets the @samp{t}
+flag, and the output is produced. When processing
line 2, the @samp{t} flag is still set (this is the bug). Command (a)
fails to match, but @command{sed} is not supposed to clear the @samp{t}
flag when a substitution fails. Command (b) sees that the flag is set,
- sed (`t') issue,
Ralf Wildenhues <=