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

Re: (-) doesn't make (e) working on the files which symbolic links point to ?



On Fri, Oct 24, 2014 at 09:05:23AM +0200, Mikael Magnusson wrote:
> It would appear that :A causes the e to not execute at all, but in
> either case the end result would not be the desired one. The following
> works, if your zsh is new enough to allow globbing in this context.
> ls -l /dev/disk/by-id/*(e.'[[ $REPLY(#q:A) = *sda* ]]'.)
> 
Thanks. And this one also works:

ls -l /dev/disk/by-id/*(e.'[[ ${REPLY:A} = *sda* ]]'.)




Messages sorted by: Reverse Date, Date, Thread, Author