Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Quoting =(command)



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