[Rpm-maint] [rpm-software-management/rpm] \x1a (ASCII unit separator) cannot be escaped (#1438)

Demi Marie Obenour notifications at github.com
Sun Nov 15 20:41:07 UTC 2020

Right now, I cannot write a Lua function `quote_array` that converts an array of strings to a string that (when used as the argument to a macro) will be interpreted as the initial array.  This is because \\x1a (ASCII unit separator) cannot be escaped.

One solution would be to allow \\x1a to be escaped by doubling it, and have `%{quote:…}` do this automatically.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201115/a20476d1/attachment.html>

More information about the Rpm-maint mailing list