chiark / gitweb /
README: v2: Introduce &:changequote
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Dec 2019 13:24:47 +0000 (13:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Dec 2019 13:33:14 +0000 (13:33 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README

diff --git a/README b/README
index bbec51884700b9776f8f9491f1b6375b0a9c1e0d..6706de4465877c4c5897a20d805c0b612692a55b 100644 (file)
--- a/README
+++ b/README
@@ -266,11 +266,11 @@ So pathname syntax is a subset of:
 &#     delete everything to end of line
        (useful if the RHS contains unrecognised & constructions)
 
-&!STUFF
+&:changequote STUFF
        changes the escape sequence from & to literally STUFF
        STUFF may be any series of of non-whitespace characters,
-       and is terminated by EOL or lwsp.  &!STUFF and the lwsp
-       are discarded.
+       and is terminated by EOL or lwsp.  The whole line is
+       discarded.
 
        After this, write STUFF instead of &, everywhere.
        The effect is global and lasts until the next setting.
@@ -278,9 +278,9 @@ So pathname syntax is a subset of:
        it back before using &:include.
 
        Notably
-               STUFFSTUFF      =>      STUFFSTUFF
-               \STUFF          =>      STUFF
-               STUFF!&         set escape back to &
+               STUFFSTUFF              => STUFFSTUFF
+               \STUFF                  => STUFF
+               STUFF:changequote &     => set escape back to &
 
 &TARGETS_things
        Handled specially.  If mentioned, declares that this