On Fri, 2025-02-14 at 14:19 -0500, Stefan Monnier via Users list for the GNU implementation of make wrote: > > Note I don't really recommend any of this. With the current > > limitations of make, as defined by POSIX, it's just very difficult > > to > > Any hope to see a version of GNU Make that lifts those limitations, > providing some sane way to handle any character in filenames (and > ideally also able to sanely manipulate lists of such names)?
A number of years ago I proposed a way to deal with special characters. You can find the start of the thread here: https://lists.gnu.org/archive/html/make-alpha/2014-02/msg00003.html If you have the patience to read it, you will definitely learn why something like this is so difficult :). It rambled on for a while, with a few branching threads, before petering out. I do have some code (but not up to date with current Git HEAD of course) that I wrote as a proof-of-concept. I even still have a reply in my "Drafts" email folder trying to collect everything, which became overwhelming. It seems that one of my major goals when choosing a solution, which was to avoid rewriting enormous amounts of gnarly GNU Make code, was not shared by everyone else :). I also don't think I ever came to accept the idea that re-using standard quoting characters could work well, despite the best efforts of Frank or Eli to convince me. Unfortunately I couldn't convince them that MY idea would work well, either. Probably it's worth re-reading with another 10 years of experience.