Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Any way to allow clobbering empty files when noclobber is set?
- X-seq: zsh-workers 45957
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Any way to allow clobbering empty files when noclobber is set?
- Date: Wed, 3 Jun 2020 19:35:23 -0700
- Cc: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Martin Tournoij <martin@xxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <CACeGjnXVt2GNcpmftV6vqoA8Q0_9rG4Dodwp9aHgOK6=J=e2GA@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: <CGME20200603020919eucas1p13e26ebcbb335784d14bfb97b137f385a@eucas1p1.samsung.com> <89aed74d-db7b-47ad-b218-8158838049e9@www.fastmail.com> <94e73ebcf39d4d3f9c7ae257b1d75d16@CAMSVWEXC01.scsc.local> <CACeGjnXVt2GNcpmftV6vqoA8Q0_9rG4Dodwp9aHgOK6=J=e2GA@mail.gmail.com>
On Wed, Jun 3, 2020 at 7:14 PM Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> If we want to support this feature, why don't we change the meaning of
> NO_CLOBBER to mean only non-empty files? What is the significance of a
> 0-length file as opposed to a file with contents?
Timestamps.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author