From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13592 invoked from network); 3 Jan 2003 15:39:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Jan 2003 15:39:29 -0000 Received: (qmail 1680 invoked by alias); 3 Jan 2003 15:39:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5641 Received: (qmail 1673 invoked from network); 3 Jan 2003 15:39:17 -0000 Date: Fri, 3 Jan 2003 15:39:11 +0000 To: Carlos Carvalho Cc: zsh-users@sunsite.dk Subject: Re: aliases not getting expanded inside functions? Message-ID: <20030103153911.GB26179@fysh.org> References: <15893.44217.393956.262362@fisica.ufpr.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15893.44217.393956.262362@fisica.ufpr.br> User-Agent: Mutt/1.3.28i From: Zefram Carlos Carvalho wrote: >I'd expect that since the alias is global, comes before the definition >of the function, and aliases are expanded when a function is read, >that the function would be in effect {print $bar}, but it isn't: Global aliases don't do that. -zefram