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 Oct 24,  2:28pm, Han Pingtian wrote:
}
} > You want (:A) like so:
} > 
} >     ls -l /dev/disk/by-id/*(:Ae'.[[ $REPLY = *sda* ]].')
} 
} I'm sorry, it doesn't work. The outputs of "*(:Ae'.[[ $REPLY = *sda* ]].')"
} is the same as "*(:A)".

Hmm, you're correct, I was fooled by the way I was testing it.  There
does not seem to be a way to get $REPLY to be passed in as the target
of the link.



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