From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8748 invoked from network); 13 Aug 1999 16:28:16 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Aug 1999 16:28:16 -0000 Received: (qmail 10666 invoked by alias); 13 Aug 1999 16:28:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7434 Received: (qmail 10659 invoked from network); 13 Aug 1999 16:28:01 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: tricky.c and completion functions References: <199908131216.OAA11188@beta.informatik.hu-berlin.de> <990813155515.ZM5338@candle.brasslantern.com> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 14 Aug 1999 01:07:43 +0900 In-Reply-To: "Bart Schaefer"'s message of "Fri, 13 Aug 1999 15:55:15 +0000" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <990813155515.ZM5338@candle.brasslantern.com>, "Bart Schaefer" writes: > That (N) shouldn't be necessary -- brace expansion does not test for the > exsistence of any files, it just pastes together the strings in all the > possible combinations. Did it actually fail for you somehow? It is required for removing non-existing files from the result of the brace expansion. For example, under SunOS 5.7: Z(2):akr@is27e1u11% print -l /usr/{lib,{{X11R6,openwin},local{,/X11{,R6}}}/lib}/X11/rgb.txt /usr/lib/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt /usr/openwin/lib/X11/rgb.txt /usr/local/lib/X11/rgb.txt /usr/local/X11/lib/X11/rgb.txt /usr/local/X11R6/lib/X11/rgb.txt Z(2):akr@is27e1u11% print -l /usr/{lib,{{X11R6,openwin},local{,/X11{,R6}}}/lib}/X11/rgb.txt(N) /usr/openwin/lib/X11/rgb.txt Z(2):akr@is27e1u11% So, $(<$files[1]) causes an error if (N) is not used. Also, I suppose that (N) was intended by Sven because Completion/User/_cursors use same method for cursorfont.h. -- Tanaka Akira