> From: Paul Smith <psm...@gnu.org> > Cc: gzaf...@gmail.com, bug-make@gnu.org > Date: Sun, 25 Dec 2022 21:02:25 -0500 > > On Sun, 2022-12-25 at 19:20 +0200, Eli Zaretskii wrote: > > So this command will work differently depending on which version of > > Windows it runs, and therefore I would suggest to replace it with > > something that doesn't need to double or triple backslashes, in order > > for it to be more portable. > > I would love to do that but I have no idea how. > > The goal is to add a backslash to the end of every line in the file. I > don't see a way to do it, without having a backslash on the command > line. I'm certainly not even close to an expert in anything Windows > however.
How about reading the Sed script from a file, with the -f command-line argument? In the file you can have whatever you need, and the contents will not be subject to command-line expansion that creates this problem. > > Btw, what is the purpose of the bootstrap.bat file? It is not part > > of the Make source tarball, so who and when uses it? > > bootstrap.bat is the counterpart to the bootstrap shell script, for > when you are running on Windows. It allows someone to check out the > Git repository and build it natively on Windows without needing all the > autotools, etc. It needs no POSIX tools other than a version of sed. So it should basically only work for you and no one else?