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 ?
- X-seq: zsh-users 19278
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: Re: (-) doesn't make (e) working on the files which symbolic links point to ?
- Date: Thu, 23 Oct 2014 20:22:53 -0700
- In-reply-to: <20141024021406.GA3496@localhost.localdomain>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20141024021406.GA3496@localhost.localdomain>
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* ]].')
Messages sorted by:
Reverse Date,
Date,
Thread,
Author