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

Re: Parameter Expansion questions



"Zefram" <zefram@xxxxxxxxx> writes:

> OTOH, I suspect that you *really* want to be using an array
> parameter.  $path is an array version of $PATH, so you don't even
> need to do the splitting manually in that case.

Yes, when I first read it, I came up with

	splitpath="$path"

But that's surely not a particularly useful thing to do.  Well, I
can't think of a use, anyway.  Maybe I'm just not being creative
today.



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