From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2951 invoked by alias); 18 Dec 2009 15:12:22 -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: 27531 Received: (qmail 1505 invoked from network); 18 Dec 2009 15:12:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_HELO_PASS autolearn=ham version=3.2.5 Received-SPF: pass (ns1.primenet.com.au: SPF record at alea.gnuu.de designates 83.246.114.63 as permitted sender) X-DKIM: Sendmail DKIM Filter v2.5.2 uucp.gnuu.de F05B248804E DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1261149125; i=@alea.gnuu.de; bh=eCwqV6/lVBeB0JIpwUeO3fM02xHFuZF0X 9TWrHGo5H8=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=WU/8 9s5hYfyLvzq5IGibZcpB1HVYVh8PCTGPjBbKI4CAr0RoJeLsEXEWgyQE6mrK+6W8rbN PfBJLUYlohoRy4/SOGBIhTwMdBvcELt3MZjxiqt1XsCV3KX7p8qL3G1JeC9pnQaE9pd 1m89hbab5naGwxHjj7a21WSYyBRRD83UE= To: zsh-workers@zsh.org Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: Re: [PATCH] run-help: ugly workaround for run-help-$X with alias for $X Date: Fri, 18 Dec 2009 13:51:31 +0000 (UTC) Message-ID: References: <20091214114004.GA31015@alea.gnuu.de> <200912141342.nBEDg23i004301@news01.csr.com> <091214075055.ZM8191@torch.brasslantern.com> <20091216105725.010c00d9@news01> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1261144291 9715 192.168.0.5 (18 Dec 2009 13:51:31 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/pre1.0.0-11 (Linux) Sender: news Hello Peter, Peter Stephenson wrote: > On Mon, 14 Dec 2009 07:50:55 -0800 > Bart Schaefer wrote: >> That unset is probably there because older versions of zsh had some >> bugs in the implementation of "var=value command ..." particularly in >> the case where "command" is a function or builtin. This stemmed from >> zsh's efforts to avoid forking when no external program was involved. > > Actually, it's here (from the diff -u)... > > + unset run_help_orig_cmd > eval "run-help-$1:t ${(qq@)cmd_args[2,-1]}" > > ... so maybe I've missed the point: it may have been to prevent > $run_help_orig_cmd being seen by run-help-. Yes, this was my intention. I would like to avoid somebody uses this, because it's an hack and might^Wshould be removed in the future. Bye, Jörg. -- < Mr X.> jo: contact an admin to mount it for you < jo> The admin is not, well how should I say it, he isn't very familiar with the system. What should I tell my admin, what he should do? < Mr X.> taking a sun solaris administration course.