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 19281
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: (-) doesn't make (e) working on the files which symbolic links point to ?
- Date: Fri, 24 Oct 2014 00:19:56 -0700
- In-reply-to: <20141024062838.GB3496@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> <141023202253.ZM19726@torch.brasslantern.com> <20141024062838.GB3496@localhost.localdomain>
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