Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: please advice
- X-seq: zsh-users 3241
- From: Mircea Damian <dmircea@xxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: please advice
- Date: Fri, 30 Jun 2000 15:17:19 +0300
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <200006301214.OAA00887@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>; from wischnow@xxxxxxxxxxxxxxxxxxxxxxx on Fri, Jun 30, 2000 at 02:14:37PM +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200006301214.OAA00887@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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