bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Bad sed expression in bootstrap.bat


From: Paul Smith
Subject: Re: [PATCH] Bad sed expression in bootstrap.bat
Date: Sun, 25 Dec 2022 21:02:25 -0500
User-agent: Evolution 3.46.2 (by Flathub.org)

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.

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]