From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20716 invoked from network); 4 Feb 2003 17:40:08 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Feb 2003 17:40:08 -0000 Received: (qmail 26514 invoked by alias); 4 Feb 2003 17:39:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5879 Received: (qmail 26506 invoked from network); 4 Feb 2003 17:39:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Feb 2003 17:39:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [64.56.232.6] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Feb 2003 17:39:36 -0000 Received: (from parkw@localhost) by node1.opengeometry.net (8.11.6/8.11.6) id h14HdWs22046 for zsh-users@sunsite.dk; Tue, 4 Feb 2003 12:39:32 -0500 Date: Tue, 4 Feb 2003 12:39:32 -0500 From: William Park To: zsh-users@sunsite.dk Subject: Re: (feature request) Shell script within shell script Message-ID: <20030204173932.GA21980@node1.opengeometry.net> Mail-Followup-To: zsh-users@sunsite.dk References: <20030128042243.GA3888@node1.opengeometry.net> <20030128104034.GA6470@node1.opengeometry.net> <20030131204945.GA1189@node1.opengeometry.net> <20030201073655.GA3893@node1.opengeometry.net> <20030203231518.GA8900@node1.opengeometry.net> <1030204091832.ZM15610@candle.brasslantern.com> <20030204092826.GA18187@node1.opengeometry.net> <1030204172427.ZM21012@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1030204172427.ZM21012@candle.brasslantern.com> User-Agent: Mutt/1.4i On Tue, Feb 04, 2003 at 05:24:27PM +0000, Bart Schaefer wrote: > On Feb 4, 4:28am, William Park wrote: > } > } > Just watch out for what happens if you ever have unbalanced > } > parentheses in the content of the here-document. > } > } Wouldn't here-document have priority over <(...)? > > You'd think so, but that's not how <(...) et al. are parsed. Hmm, I just noticed. It completes <(...) as soon as unmatched ')' occurs. -- William Park, Open Geometry Consulting, Linux solution for data management and processing.