Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
expandig var values at the command line
- X-seq: zsh-users 2486
- From: dado <dado@xxxxxxx>
- To: zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Subject: expandig var values at the command line
- Date: Fri, 20 Aug 1999 14:34:57 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Pacific Data Images
- Sender: dado@xxxxxxx
I tcsh I use to have a variable set to a list of directories:
set dirs = '{dir1,dir2,dir3,...,dirN}'
then I would do:
ls /path/path/$dirs/path
and I would get the contents of those directories.
I can't get similar behavior in zsh.
It is expanding the variable once, and treating its content as a single
string
instead of expanding to the names of each directory.
Any idea how I can get that to work?
Thanks.
--
____________________________________________________________________________
d a d o f e i g e n b l a t t direct (650) 846-8386
dado@xxxxxxx - Technical Lighter front desk (650) 846-8100
PDI - Palo Alto, CA fax (650) 846-8101
Messages sorted by:
Reverse Date,
Date,
Thread,
Author