Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: passing arrays
- X-seq: zsh-users 5771
- From: Le Wang <lewang@xxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: RE: passing arrays
- Date: Mon, 20 Jan 2003 09:34:39 -0500 (EST)
- In-reply-to: <20030120142335.581.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
--- Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
wrote: >
> > Here is an extension of the problem. Say I have a
> > bunch of functions that operate on $PATH, how
> would I
> > generalize it so that it works with any $PATH like
> > variable?
> >
>
> Hmm ... have you noticed that every your question
> needs at least one reply
> that requests clarification what you really mean? No
> offence intended :)
None taken. I will strive to refine my problem
descriptions.
My problem is as follows:
I currently have:
addToPath () {...}
and I use it as:
addToPath ~/bin/scripts
I would like to have
addToPathVar () {...}
and use it as:
addToPathVar CLASSPATH ~/java/lib
--
Le
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
Messages sorted by:
Reverse Date,
Date,
Thread,
Author