Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Idle musing about (naming of) CLOBBER_EMPTY
- X-seq: zsh-workers 46041
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Idle musing about (naming of) CLOBBER_EMPTY
- Date: Wed, 10 Jun 2020 13:56:41 +0000
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7aG1Fm8NOy74z+=2XWpFrQBL5dq6Ka_iLCAKAMAAgo5qQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAH+w=7b9+b=wN2kCLsivY7r-at2qfEMfEWUh9WJc+decDj+x3A@mail.gmail.com> <1a3d3287-0f3e-4876-8089-ca22b92cec45@www.fastmail.com> <CAH+w=7aG1Fm8NOy74z+=2XWpFrQBL5dq6Ka_iLCAKAMAAgo5qQ@mail.gmail.com>
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