On Sun, 2023-09-03 at 13:20 +0200, Alejandro Colomar wrote: > Never mind; a python script could be it.
Any language where a backslash at the end of the line changes the semantics of the script is difficult to use as a make SHELL, without also using .ONESHELL, because backslash/newline must be used to ensure make interprets the recipe correctly, AND ALSO make preserves the backslash/newline when it invokes the script. Both Python and Perl fall into this category IIRC. In fact I consider it likely that almost every scripting language does, although it might be possible to avoid issues with obscure workarounds. -- Paul D. Smith <psm...@gnu.org> Find some GNU make tips at: https://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist