Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
echo ${pwd::="$( pwd/Next)"} failed
- X-seq: zsh-users 11169
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: echo ${pwd::="$( pwd/Next)"} failed
- Date: Thu, 01 Feb 2007 20:26:54 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello world,
Found in zsh man
${NAME:=WORD}
${NAME::=WORD}
In the first form, if NAME is unset or is null then set it to
WORD; in the second form, unconditionally set NAME to WORD. In
both forms, the value of the parameter is then substituted.
echo ${pwd::=pw3Pwe7}
works fine but
echo ${pwd::="$( pwd/Next)"}
failed. Is there a way to make it run ?
regards
mc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author