From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18063 invoked from network); 17 Aug 2005 20:51:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Aug 2005 20:51:56 -0000 Received: (qmail 82142 invoked from network); 17 Aug 2005 20:51:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 20:51:49 -0000 Received: (qmail 2241 invoked by alias); 17 Aug 2005 20:51:42 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9330 Received: (qmail 2232 invoked from network); 17 Aug 2005 20:51:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Aug 2005 20:51:42 -0000 Received: (qmail 81125 invoked from network); 17 Aug 2005 20:51:42 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 17 Aug 2005 20:51:38 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id 597F5389D; Wed, 17 Aug 2005 13:51:37 -0700 (PDT) Date: Wed, 17 Aug 2005 13:51:37 -0700 From: Wayne Davison To: Zsh Users Subject: Re: setopt noclobber in /proc-filesystem Message-ID: <20050817205137.GB25280@blorf.net> References: <2005-08-15T13-09-25@devnull.michael-prokop.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2005-08-15T13-09-25@devnull.michael-prokop.at> User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Mon, Aug 15, 2005 at 01:14:55PM +0200, Michael Prokop wrote: > Is there any chance to use option 'noclobber' but allow writing to > /proc-filesystem anyway? I can imagine using a preexec() function to examine the command-line and setting noclobber on or off based on whether it looks like the command is trying to redirect to a file in /proc. ..wayne..