coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-9.3.147-d553ab on Cygwin


From: Bruno Haible
Subject: Re: coreutils-9.3.147-d553ab on Cygwin
Date: Mon, 28 Aug 2023 00:26:46 +0200

Pádraig Brady wrote:
> Weird. I guess the `: > missing\dir` construct causes the script
> to exit early in failure.  Perhaps `if touch missing\dir` would work better.

No, that does not make a difference. Both ": > 'missing\dir'" and
"touch 'missing\dir'" succeed when 'missing' is an existing directory
and fail when 'missing' is nonexistent. (Tested in Cygwin 3.4.6.)

Bruno






reply via email to

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