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

Re: PATCH: Assorted parameter stuff



Bart Schaefer wrote:

> Everybody must be on spring break.

I forgot to copy it onto my laptop yesterday, sorry.  I'll give 14008 a try.

> ...
> 
> One additional question:  I think it'd be straightforward to make this
> be parsed as all one word:
> 
> % echo $foo[(i)dom str]
> 
> I.e. the space inside the [ ] could implicitly be quoted.  Currently
> it's necessary to use "$foo[(i)dom str]" to get an embedded space in a
> subscript.  I can't think of any way in which such a change would break
> a currently-working script.  Is it worth trying?

Oh, that would be wonderful.  I remember me fighting with that several
times (it can get pretty ugly with nested expansions and arrays).

Bye
  Sven


-- 
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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