Bruno Haible <br...@clisp.org> writes:

>> +if ! echo '' > 'backslash\is\not\dir\sep'; then
>
> Negating the exit status of a command with ! is not portable [1].

Thanks for letting me know even though as Pádraig said gl_POSIX_SHELL
checks this. I was not aware of this limitation in some shells.

> Suggestion: Swap the two branches of the 'if' statement, thus
> removing the need for negation.

I found that the issue has a simpler solution which avoids the need for
the other branch. I will reply to Pádraig's response with details.

Collin

Reply via email to