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

Re: please advice



On Fri, Jun 30, 2000 at 01:39:48PM +0200, Sven Wischnowsky wrote:
> 
> One of the places where zsh differs from other shells, doing the right 
> thing.

Yes. This is true.

> 
> One possibility is to set the shwordsplit option, if you really want
> it everywhere. Our you can force word splitting for that one parameter 
> expansion by using: `$=PRGARG'.
> 
> The best way would be to use an array, though.
> 
>   PRGARG=(-bla1 -bla2 -bla3)
>   $0 $PRGARG

Ok. It was exactly the example that I followed from "dircolors -z".



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?

> 
> Bye
>  Sven

Thank you very much,


-- 
Mircea Damian
E-mails: dmircea@xxxxxxxx, dmircea@xxxxxxxxx
WebPage: http://taz.mania.k.ro/~dmircea/



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