From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18382 invoked from network); 18 Apr 2000 11:55:14 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Apr 2000 11:55:14 -0000 Received: (qmail 27437 invoked by alias); 18 Apr 2000 11:55:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10806 Received: (qmail 27376 invoked from network); 18 Apr 2000 11:55:01 -0000 Date: Tue, 18 Apr 2000 12:54:31 +0100 From: Peter Stephenson Subject: colonic _values with paths To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FT700EKTNQVK8@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT This is rather minor, but I happened to notice. _values always adds a suffix `:' when it's dealing with colon-separated arrays. This is actually pretty annoying if the elements of the array are paths, when you'd prefer to have the usual `/' and add a `:' by hand where necessary. How about only adding the `:' if the element doesn't already contain a `/' or initial `~'? Or suppose I get in the habit of using `typeset -T' and adding things to real arrays? Maybe the second alternative is better. -- Peter Stephenson Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070