subst: Mention how to deal with a FROM that has commas in it

2023-03-18 Thread Dan Jacobson
(info "(make) Text Functions") says '$(subst FROM,TO,TEXT)' Performs a textual replacement on the text TEXT: each occurrence of FROM is replaced by TO. The result is substituted for the function call. For example, $(subst ee,EE,feet on the street) produces the

Re: subst: Mention how to deal with a FROM that has commas in it

2023-03-18 Thread Gisle Vanem
Dan Jacobson wrote: (info "(make) Text Functions") says '$(subst FROM,TO,TEXT)' Performs a textual replacement on the text TEXT: each occurrence of FROM is replaced by TO. The result is substituted for the function call. For example, $(subst ee,EE,feet on the

Re: subst: Mention how to deal with a FROM that has commas in it

2023-03-18 Thread Paul Smith
On Sat, 2023-03-18 at 16:41 +0800, Dan Jacobson wrote: > Or mention that there is no way to deal with it. https://www.gnu.org/software/make/manual/html_node/Syntax-of-Functions.html Cheers!

[PATCH] Use UTF-8 active code page for Windows host.

2023-03-18 Thread Costas Argyris
Hi This is a proposed patch to enable UTF-8 support in GNU Make running on Windows host. Today, the make process on Windows is using the legacy system code page because of the "A" functions called in the source code.This means that any UTF-8 input to make on Windows will break.A few