Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Any way to allow clobbering empty files when noclobber is set?



Daniel Shahaf wrote on Fri, 05 Jun 2020 03:10 +0000:
> P.S.  In the pre-revprop-change example, the sysadmin should have
> downloaded the file to a temporary name and then atomically renamed it
> into place.  Some syntactic sugar for this pattern this might be nice…

The pattern I'm referring to is just the "Spool some data to disk to a
temporary name, and then atomically rename(2) it into place" part, not
the "download" part.

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author