From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22302 invoked by alias); 24 Oct 2014 03:23:07 -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: 19278 Received: (qmail 22808 invoked from network); 24 Oct 2014 03:23:06 -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 From: Bart Schaefer Message-id: <141023202253.ZM19726@torch.brasslantern.com> Date: Thu, 23 Oct 2014 20:22:53 -0700 In-reply-to: <20141024021406.GA3496@localhost.localdomain> Comments: In reply to Han Pingtian "(-) doesn't make (e) working on the files which symbolic links point to ?" (Oct 24, 10:14am) References: <20141024021406.GA3496@localhost.localdomain> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-user 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, 10:14am, Han Pingtian wrote: } } Looks like the qualifer "(-)" doesn't make "(e)" works on files pointed } by symblic The only thing that (-) controls is whether the file attributes are read by lstat() or stat(). It does not cause a readlink(); note that even in the absence of (e), the names returned by *(@-) are the names of the links and not of the files linked-to. You want (:A) like so: ls -l /dev/disk/by-id/*(:Ae'.[[ $REPLY = *sda* ]].')