Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: checking link files - recursive search
- X-seq: zsh-users 11687
- From: pol <linux_milano@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: checking link files - recursive search
- Date: Sun, 29 Jul 2007 12:02:47 +0200
- Mail-copies-to: linux_milano@xxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <f8gnpp$b2f$1@xxxxxxxxxxxxx> <17393e3e0707281851g6e6e6f30y451fc31a031cfbaa@xxxxxxxxxxxxxx>
- Reply-to: linux_milano@xxxxxxxx
- Sender: news <news@xxxxxxxxxxxxx>
<posted & mailed>
Matt Wozniski wrote:
> On 7/28/07, pol <linux_milano@xxxxxxxx> wrote:
> so, you should be able to just use
> file=$(readlink -f "$file")
> assuming you'd like to resolve links recursively, so that a link to a
> link to a file resolves to the file and not the middle link.
You are right, my script does not perform recursive search, as i would.
Using readlink would be a solution.
I am wondering whether Zsh can meet that request internally, without
resorting to external programs
Pol
Messages sorted by:
Reverse Date,
Date,
Thread,
Author