From 05c6af41adb9be0c0f7a7595bba06b4341c3feae Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 28 Dec 2019 18:19:17 +0000 Subject: [PATCH] README: Move &:changequote further down This is a bit of a minority interest. Signed-off-by: Ian Jackson --- README | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README b/README index b812f27..e5e937f 100644 --- a/README +++ b/README @@ -246,24 +246,6 @@ So pathname syntax is a subset of: &# delete everything to end of line (useful if the RHS contains unrecognised & constructions) -&:changequote NEWQUOTE - changes the escape sequence from & to literally NEWQUOTE - NEWQUOTE may be any series of of non-whitespace characters, - and is terminated by EOL or lwsp. The whole line is - discarded. - - After this, write NEWQUOTE instead of &, everywhere. - The effect is unscoped and lasts until the next setting, - or until the end of the current directory's Suffix.sd.mk. - It takes effect on &:include'd files too, so maybe set - it back before using &:include. - - Notably - NEWQUOTENEWQUOTE => NEWQUOTENEWQUOTE - NEWQUOTE\NEWQUOTE => NEWQUOTE - NEWQUOTE\$ => $ - NEWQUOTE:changequote & set escape back to & - &TARGETS_things Handled specially. If mentioned at the start of a line (possibly following whitespace), declares that this @@ -287,6 +269,24 @@ So pathname syntax is a subset of: `all' is extra special: every directory has an `all' target, which corresponds to &TARGETS. +&:changequote NEWQUOTE + changes the escape sequence from & to literally NEWQUOTE + NEWQUOTE may be any series of of non-whitespace characters, + and is terminated by EOL or lwsp. The whole line is + discarded. + + After this, write NEWQUOTE instead of &, everywhere. + The effect is unscoped and lasts until the next setting, + or until the end of the current directory's Suffix.sd.mk. + It takes effect on &:include'd files too, so maybe set + it back before using &:include. + + Notably + NEWQUOTENEWQUOTE => NEWQUOTENEWQUOTE + NEWQUOTE\NEWQUOTE => NEWQUOTE + NEWQUOTE\$ => $ + NEWQUOTE:changequote & set escape back to & + Dollar doubling and macro assistance ------------------------------------ -- 2.30.2