Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: expandig var values at the command line
- X-seq: zsh-users 2487
- From: dado <dado@xxxxxxx>
- To: David Aspinwall <aspinwall@xxxxxxxxxxxx>, zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: expandig var values at the command line
- Date: Fri, 20 Aug 1999 16:25:43 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Pacific Data Images
- References: <37BDCA01.FBB724E1@xxxxxxx> <upv0i6qfp.fsf@xxxxxxxxxxxx>
- Sender: dado@xxxxxxx
David Aspinwall wrote:
> > ls /path/path/$dirs/path
>
> try
> ls /path/path/$^dirs/path
dado@saci:shrksq1150s49:~a_shot_dir 178 -> ll
../s$^shots/adbs/startup.adb
UX:ls: ERROR: Cannot access
../s{2,4,23,25,27,29,31,33,35,36,38,40,43,48,49,50}/adbs/startup.adb: No
such file or directory
dado@saci:shrksq1150s49:~a_shot_dir 179 -> ll
../s{2,4,23,25,27,29,31,33,35,36,38,40,43,48,49,50}/adbs/startup.adb
-r--r--r-- 1 root sys 2176 Aug 20 14:41
../s2/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:31
../s23/adbs/startup.adb
-r--r--r-- 1 root sys 688 Aug 12 16:30
../s25/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:32
../s27/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:32
../s29/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:32
../s31/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:32
../s33/adbs/startup.adb
-rw-r--r-- 1 dado sys 2605 Aug 18 10:30
../s35/adbs/startup.adb
-rw-r--r-- 1 dado users 686 Aug 16 20:17
../s36/adbs/startup.adb
-rw-r--r-- 1 dado users 686 Aug 12 21:51
../s38/adbs/startup.adb
-r--r--r-- 1 root sys 688 Jul 12 12:31
../s4/adbs/startup.adb
-r--r--r-- 1 root sys 2623 Aug 16 16:23
../s40/adbs/startup.adb
-rw-r--r-- 1 dado users 1602 Aug 18 16:22
../s43/adbs/startup.adb
-r--r--r-- 1 root sys 910 Jul 28 11:41
../s48/adbs/startup.adb
-r--r--r-- 1 root sys 2804 Aug 20 14:43
../s49/adbs/startup.adb
-r--r--r-- 1 root sys 2255 Aug 20 14:43
../s50/adbs/startup.adb
As you can see, the expanded variable works fine.
But its value is still not being expanded.
What is the caret for? I don't know this notation.
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