Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Quoting =(command)
- X-seq: zsh-users 10091
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Quoting =(command)
- Date: Sun, 26 Mar 2006 12:55:29 -0800
- In-reply-to: <200603261837.k2QIbOow004386@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200603261837.k2QIbOow004386@xxxxxxxxxxxxxxxxx>
On Mar 26, 7:37pm, Peter Stephenson wrote:
}
} [This is probably more in the line of zsh-users.]
[Redirected there.]
} "A. Wik" wrote:
} > # star -cv f=etc-bak.tar -C / list==(cd / ; find ./etc ...)
} > zsh: parse error near `)'
}
} If you really do want a file name containing the list, I think you're in
} trouble because the code seems to indicate =(...) only works at the
} start of the word: as the manual says, a full command argument must be
} in that form.
A real zsh parameter assignment works, though:
list==(cd /; print -l ./etc/**/*(+ntr)) eval 'star -cv list=$list -C /'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author