ASCII 0x2D is a hyphen, but ed doesn't actually escape it (on GNU/Linux
either). Commenting out the cleanup code shows that the created file has
the literal name "\x2dhyphen\x2dprefixed\x2dfile", which is illegal on
Windows (as it contains a backslash).

On Tue, Feb 21, 2023 at 1:01 PM Marco Atzeri <marco.atz...@gmail.com> wrote:

> Dear Developers,
>
> testing ed-1.19...
> *** The script /pub/devel/ed/tmp/ed-1.19/testsuite/w.ed exited
> abnormally ***
> tests failed.
>
> the full content of tmp is
>
> $ cat /pub/devel/ed/tmp/ed-1.19/tmp/w.log
> \x2dhyphen\x2dprefixed\x2dfile: No such file or directory
>
>
> I am not familiar with this escape "\x2dhyphen\x2dprefixed\x2dfile"
> what is the expectation on Unix system ?
>
>
> Regards
> Marco
>
> ed packager for Cygwin
>
>
>

Reply via email to