Re: https://www.gnu.org/software/m4/manual/m4.html - UPDATE

2018-02-12 Thread Eric Blake

On 02/11/2018 12:20 PM, Howard Johnson wrote:
OOPs.  Now I see that in fact the leading quote is a back tick (not a 
single tick), while the trailing quote is a single tick.  Strange.


Might be good to spell this uncommon usage out more clearly in 
https://www.gnu.org/software/m4/manual/m4.html#Quoted-strings


i.e. say:

     A quoted string is a sequence of characters surrounded by quote 
strings, defaulting to ‘`’ (back tick) and ‘'’ (single quote), where the 
nested begin and end quotes within the string are balanced. The value of 
a string token is the text, with one level of quotes stripped off.


rather than just:

     A quoted string is a sequence of characters surrounded by quote 
strings, defaulting to ‘`’ and ‘'’, where the nested begin and end 
quotes within the string are balanced. The value of a string token is 
the text, with one level of quotes stripped off.


Sure, we can apply that patch (patches are easier to read in diff 
format, but it looks like all you did was add the strings "(back tick)" 
and "(single quote)" in the right places).


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.   +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



re: https://www.gnu.org/software/m4/manual/m4.html - UPDATE

2018-02-11 Thread Howard Johnson
OOPs.  Now I see that in fact the leading quote is a back tick (not a 
single tick), while the trailing quote is a single tick.  Strange.


Might be good to spell this uncommon usage out more clearly in 
https://www.gnu.org/software/m4/manual/m4.html#Quoted-strings


i.e. say:

    A quoted string is a sequence of characters surrounded by quote 
strings, defaulting to ‘`’ (back tick) and ‘'’ (single quote), where the 
nested begin and end quotes within the string are balanced. The value of 
a string token is the text, with one level of quotes stripped off.


rather than just:

    A quoted string is a sequence of characters surrounded by quote 
strings, defaulting to ‘`’ and ‘'’, where the nested begin and end 
quotes within the string are balanced. The value of a string token is 
the text, with one level of quotes stripped off.