[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: sed & &
From: |
Akim Demaille |
Subject: |
FYI: sed & & |
Date: |
10 Nov 2000 16:30:34 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
is portable.
2000-11-10 Akim Demaille <address@hidden>
Index: doc/autoconf.texi
===================================================================
RCS file: /cvs/autoconf/doc/autoconf.texi,v
retrieving revision 1.380
diff -u -u -r1.380 autoconf.texi
--- doc/autoconf.texi 2000/11/10 14:55:37 1.380
+++ doc/autoconf.texi 2000/11/10 15:03:01
@@ -5791,6 +5791,9 @@
sed @var{instruction-1};@var{instruction-2}
@end example
+Contrary to yet another urban legend, you may portably use @samp{&} in
+the rhs to mean ``what was matched''.
+
@command{sed} scripts should not use branch labels longer than 8
characters and should not contain comments.
- FYI: sed & &,
Akim Demaille <=