From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22369 invoked from network); 29 Nov 1999 17:55:27 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Nov 1999 17:55:27 -0000 Received: (qmail 26800 invoked by alias); 29 Nov 1999 17:55:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8799 Received: (qmail 26788 invoked from network); 29 Nov 1999 17:55:12 -0000 X-Face: >Q)4Pn.JVfRz{G(G_eIkykbZGG\)2mk8:5a"{^Mk07iC#F.t2L7h|]{*cFg$GEPDdun~+UTjG(^4z<_Ksw%L-\w0xDmUR~ Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Falk Hueffner Date: 29 Nov 1999 18:53:55 +0100 In-Reply-To: Sven Wischnowsky's message of "Fri, 26 Nov 1999 12:38:28 +0100 (MET)" Message-ID: <87r9h918wc.fsf@student.uni-tuebingen.de> X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Yoko" Sven Wischnowsky writes: > Just found this: > > > From: chet@nike.ins.cwru.edu (Chet Ramey) > > Subject: Bash-2.04 Programmable Completion message 4 > > Date: 05 Nov 1999 00:00:00 GMT > > Message-ID: <991105173103.AA78566.SM@nike.ins.cwru.edu> > [...] > Two builtins `complete' and `compgen' with almost the same options, > functions starting with underscore, -[PS] options, COMPREPLY, arrays > holding names of stopped jobs and functions, etc. > > `compgen' is lightly different from what was our `compgen', it > obviously just outputs the possible matches. But then -- the name. I think it would be BAD if bash had a similar system to zsh. It would create confusion and increase work if one would want to use the same completion scripts for both shells. So we should really try to have at least a common base. I don't know if the two systems could be totally compatible, since probably bash doesn't implement some needed features like assiocative arrays. If this is impossible, the bash system should at least not look similar. Could probably some competent person contact the bash maintainers on this topic? Falk