Follow-up Comment #4, sr #105855 (group m4):

I'm seriously thinking of adding a qindir builtin to m4 1.6, which executes
any other builtin macro but adds a layer of quoting around its expansion.
Example:

define(`b', `B')dnl
substr(`abc', 1, 1)
=> B
indir(`substr', `abc', 1, 1)
=> B
qindir(`substr', `abc', 1, 1)
=> b

with qindir, you CAN write a recursive patsubst that properly quotes the input
for the next round of replacement.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?105855>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to