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

Re: Idle musing about (naming of) CLOBBER_EMPTY



Bart Schaefer wrote on Tue, 09 Jun 2020 17:57 -0700:
> On Tue, Jun 9, 2020 at 3:44 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Bart Schaefer wrote on Tue, 09 Jun 2020 17:47 +00:00:  
> > > Doesn't that make it sound like NOCLOBBER_EMPTY should mean that only
> > > empty files are preserved?  
> >
> > Could call it BUT_DO_CLOBBER_EMPTY, to allow «setopt noclobber butdoclobberempty».  
> 
> Ha!  Except that
>    setopt noclobber nobutdoclobberempty
> still sounds wrong. :-)
> 
> I was thinking EMPTY_CLOBBER, if anything.  But like I said, idle musing.

SPECIAL_CASE_EMPTY_FILES

RACE_CONDITION_WHEN_CLOBBERING_EMPTY_FILES

Cheers,

Daniel



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