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 45953
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Martin Tournoij <martin@xxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: RE: Any way to allow clobbering empty files when noclobber is set?
- Date: Wed, 3 Jun 2020 12:04:34 +0000
- Accept-language: en-GB, en-US
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200603120436euoutp011275bba62315359ee0ad8b70281ca2f2~VBx-IZuz91655616556euoutp01X
- In-reply-to: <89aed74d-db7b-47ad-b218-8158838049e9@www.fastmail.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>
- Thread-index: AQHWOUwLvpvGTtcb20Of+UjScgNuIajGyg3g
- Thread-topic: Any way to allow clobbering empty files when noclobber is set?
Martin Tournoij wrote:
> I switched from tcsh to zsh a while ago (many years too late, I know),
> and found zsh can do pretty much everything better. There's one thing
> I rather miss though: the 'notempty' option in 'noclobber'.
This isn't actually hard to implement. What does everyone else think?
pws
Attachment:
clobber_empty.dif
Description: clobber_empty.dif
Messages sorted by:
Reverse Date,
Date,
Thread,
Author