From 08e0edf690f2ae65a6d2e82609da7562f55093ac Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 14 Nov 2019 14:03:18 +0000 Subject: [PATCH 1/1] docs: Further corresponding new syntax Signed-off-by: Ian Jackson --- README | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/README b/README index 96664ec..7fdeef5 100644 --- a/README +++ b/README @@ -195,23 +195,13 @@ empty string). &/ => sub/dir/ or nothing &=/ => sub/dir or . -&,lc => $(top_srcdir)/sub/dir/lc -&,/ => $(top_srcdir)/sub/dir/ +&,lc => $(top_srcdir)/sub/dir/lc &,/ => $(top_srcdir)/sub/dir/ +&;lc => $(top_srcdir)/lc &;/ => $(top_srcdir)/ -&;lc => $(top_srcdir)/sub/dir/lc -&;/ => $(top_srcdir)/sub/dir/ - -&@lc => $(PWD)/sub/dir/lc -&@/ => $(PWD)/sub/dir/ - -&.lc => $(PWD)/lc -&./ => $(PWD)/ - -&@,lc => $(abs_top_srcdir)/sub/dir/lc -&@,/ => $(abs_top_srcdir)/sub/dir/ - -&@;lc => $(abs_top_srcdir)/sub/dir/lc -&@;/ => $(abs_top_srcdir)/sub/dir/ +&@lc => $(PWD)/sub/dir/lc &@/ => $(PWD)/sub/dir/ +&.lc => $(PWD)/lc &./ => $(PWD)/ +&@,lc => $(abs_top_srcdir)/sub/dir/lc &@,/ => $(abs_top_srcdir)/sub/dir/ +&@;lc => $(abs_top_srcdir)/lc &@;/ => $(abs_top_srcdir)/ In general: = return subdir without delimiter (not allowed with `,' `;' `@') @@ -231,13 +221,13 @@ So pathname syntax is a subset of: && => && for convenience in shell runes \& => & general escaping mechanism -& thing thing... & -&. thing thing... & &@. thing thing... & +& thing thing... & &@ thing thing... & + &. thing thing... & &, thing thing... & &@, thing thing... & &; thing thing... & &@; thing thing... & Convenience syntax for prefixing multiple filenames. Introduced by & followed by lwsp where lc could go. - Each lwsp-separated non-ws word is prefixed by &/ &./ &@./ + Each lwsp-separated non-ws word is prefixed by &/ etc. etc. respectively. No other & escapes are recognised. This processing continues until & preceded by lwsp, or until EOL (the end of the line), or \ then EOL. -- 2.30.2