From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24098 invoked by alias); 25 Jun 2015 01:49:24 -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: 35597 Received: (qmail 1036 invoked from network); 25 Jun 2015 01:49:23 -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=aBkVFpoYHNjHETIat9xk2YC/Z4n68Gra+nkTsDHReT8=; b=Rd80smhYc8PdOFjbn8VvRv1QK7RO623o1C/sbE9wRFtJjU6a1qyspQRRSk8iZnEvVq CWTrcVbTPod9QqUEB9V68SSLgAXmcWyn2buDhR4+T8EMcCVNKnlToGhdq1e5iUH/jD9u 7dvomt1S4MX4CRt7VLVvkLTHOTfExKIE5uT67CqSVH1McoH8XakLYxCFHyn4+TIqEgGK UT07gzTk7UaYLeLE0yR4C8a3509pR0tAAeQNmf1MbTMv7fWcnzZenBvM9mYwznhagpui cMjQ+UdnqOT7wjT4+FnICbHln09fmOAXj1q4+jHhlYdJk3Rlr64HmbjTC/9YjH4aPVx0 8DzA== X-Gm-Message-State: ALoCoQk78srgghqcKU8s4qNZwD9qP8/e7/A8j4IAlJCysCSAZEYa5WzJDyQ00UJLiqnfQYzZJ5g1 X-Received: by 10.60.92.198 with SMTP id co6mr37142561oeb.3.1435196962021; Wed, 24 Jun 2015 18:49:22 -0700 (PDT) From: Bart Schaefer Message-Id: <150624184916.ZM19079@torch.brasslantern.com> Date: Wed, 24 Jun 2015 18:49:16 -0700 In-Reply-To: <558B5342.2090706@inlv.org> Comments: In reply to Martijn Dekker "'>>' does not create file if set -C (noclobber) is active" (Jun 25, 3:02am) References: <558B5342.2090706@inlv.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Martijn Dekker , 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, 3:02am, Martijn Dekker wrote: } } If the 'noclobber' option (set -C) is active, the append ('>>') output } redirection will not create a file if it doesn't exist. } } POSIX: The noclobber option is an extension, and has nothing whatsoever to do with POSIX. It is not normally on in any emulation, so as soon as you set it you're off in the weeds and appeal to POSIX is meaningless. This is working the way it's intended to work.