From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17097 invoked by alias); 25 Jun 2015 07:30:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35600 Received: (qmail 7616 invoked from network); 25 Jun 2015 07:30:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=a88XO2o6pjx+1BOTARYLJ5O1SrJKkQzCksMVfTk3Q/g=; b=YhR2u7QQZtyCaxwt6ZdI5pJsHlfYYg+KEBsYDGlh0gyyV/IwKsiFTP1/3lMy5jqoaG 4OYsp0GI7dqTJi11sM+svOZLa8NqHQ82eEnUKuwNtTG5rF28gN1WjF4YYXY+pXJPhWGP o94x+1j20P2/DOAKQUcB1FYkkaVQhhjrxnxW/LuXjCUSTHb12cHGvUI7QZjPZU2T5Mep q0cHIQ2T49PIdXFLbBGLfY3ZkA74hWLT5iF7hwjbe/4EFEWwLS/8xx3zMcwHeHEagSkr U8Uqow+MNEn8tMp5i7gqPQ1mvj/CeHb0lJ/sZwWyEocJHCoIvjrmmMRGCt8dMbV8kKRj RUgQ== X-Gm-Message-State: ALoCoQn8ejNkDMT3MKwseNt021sVz3agurC6c2YeDuA2L3J7/Rkype08NUSEUUC8hDHzMy3sK+v2 X-Received: by 10.182.24.40 with SMTP id r8mr38560053obf.15.1435217453264; Thu, 25 Jun 2015 00:30:53 -0700 (PDT) From: Bart Schaefer Message-Id: <150625003047.ZM19218@torch.brasslantern.com> Date: Thu, 25 Jun 2015 00:30:47 -0700 In-Reply-To: <558B65EB.3060204@inlv.org> Comments: In reply to Martijn Dekker "Re: '>>' does not create file if set -C (noclobber) is active" (Jun 25, 4:22am) References: <558B5342.2090706@inlv.org> <150624184916.ZM19079@torch.brasslantern.com> <558B65EB.3060204@inlv.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: '>>' does not create file if set -C (noclobber) is active MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 25, 4:22am, Martijn Dekker wrote: } Subject: Re: '>>' does not create file if set -C (noclobber) is active } } > The noclobber option is an extension, and has nothing whatsoever to do } > with POSIX. } } That is not correct. Well, damn. When did they do that? As far as I know, this was first implemented in zsh and has worked as it does in zsh since around 1990 -- there is no mention of the -C option in the ksh88 manual, for example. So I'm still inclined to say that this is just not going to change, because we'd either have to (1) change it in native mode or (2) do one of those hacks that tests the emulation mode so it only works if you actually start the shell that way or (3) add an entirely new setopt just for this. I don't like any of those choices.