From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23076 invoked by alias); 24 Oct 2014 07:20:20 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19281 Received: (qmail 4437 invoked from network); 24 Oct 2014 07:20:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=APPYBL8I c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=FT8er97JFeGWzr5TCOCO5w==:17 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=Z-8WkhSj_bFFQ6wUgj0A:9 a=CjuIK1q_8ugA:10 a=120YwAw7a44A:10 a=WKs5byCS69IA:10 a=sst1WgVUtzkA:10 From: Bart Schaefer Message-id: <141024001956.ZM19889@torch.brasslantern.com> Date: Fri, 24 Oct 2014 00:19:56 -0700 In-reply-to: <20141024062838.GB3496@localhost.localdomain> Comments: In reply to Han Pingtian "Re: (-) doesn't make (e) working on the files which symbolic links point to ?" (Oct 24, 2:28pm) References: <20141024021406.GA3496@localhost.localdomain> <141023202253.ZM19726@torch.brasslantern.com> <20141024062838.GB3496@localhost.localdomain> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: (-) doesn't make (e) working on the files which symbolic links point to ? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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.