Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: echo ${pwd::="$( pwd/Next)"} failed
- X-seq: zsh-users 11172
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- Subject: Re: echo ${pwd::="$( pwd/Next)"} failed
- Date: Fri, 2 Feb 2007 00:52:31 -0600
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <45C2D636.4020508@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <45C23EFE.5050002@xxxxxxxxxxxxxxxxxx> <20070201195024.GA80015@xxxxxxxxxxxxxxxx> <45C2D636.4020508@xxxxxxxxxxxxxxxxxx>
In the last episode (Feb 02), Marc Chantreux said:
> Dan Nelson a écrit :
> >Failed with what error message? A similar command works for me:
> >
> > dan% echo ${pwd::=$(apg -n 1)}
> > KiUpVuc6
> > dan% echo $pwd
> > KiUpVuc6
>
> Yes .. but if you repeat the command, apg will not be executed and
> $pwd will be the same.
Works fine here, on 4.3.2 (also tested on 3.0.5):
dan% echo ${pwd::=$(apg -n 1)}
siWyif2kni
dan% echo ${pwd::=$(apg -n 1)}
Oas3opghor
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author