From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14654 invoked from network); 30 Jun 2000 12:18:12 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Jun 2000 12:18:12 -0000 Received: (qmail 21372 invoked by alias); 30 Jun 2000 12:17:46 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3241 Received: (qmail 21362 invoked from network); 30 Jun 2000 12:17:42 -0000 Date: Fri, 30 Jun 2000 15:17:19 +0300 From: Mircea Damian To: Sven Wischnowsky Cc: zsh-users@sunsite.auc.dk Subject: Re: please advice Message-ID: <20000630151719.F3352@linux.kappa.ro> References: <200006301214.OAA00887@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200006301214.OAA00887@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Fri, Jun 30, 2000 at 02:14:37PM +0200 On Fri, Jun 30, 2000 at 02:14:37PM +0200, Sven Wischnowsky wrote: > > Mircea Damian wrote: > > > ... > > > > I don't see what can be wrong if I use word splitting on that variable(btw, > > word splitting is done by using WORDCHARS or just white spaces?).. is there > > somewhere an impediment for that? > > It uses the characters from $IFS for word splitting. > > The advantage of using arrays is the easier handling if the words > contain spaces, which, of course, isn't important in your example (but > it may be a good idea to get used to it anyway). Right. I haven't thought about that. In fact in my real program(not the test case I wrote) it matters very much. Thank you again, > > Bye > Sven > > -- Mircea Damian E-mails: dmircea@kappa.ro, dmircea@roedu.net WebPage: http://taz.mania.k.ro/~dmircea/