Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: please advice



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@xxxxxxxx, dmircea@xxxxxxxxx
WebPage: http://taz.mania.k.ro/~dmircea/



Messages sorted by: Reverse Date, Date, Thread, Author