On Sun, 24 May 2009 19:13:54 -0400
"A. Costa" <[email protected]> wrote:
> Revised suggestion, provide context, something like:
>
> % realpath k
> error: dangling symlink chain, '/tmp/links/k > /tmp/links/j
> > /tmp/links/i > /tmp/links/h > /tmp/links/g > /tmp/links/f
> > > /tmp/links/e > /tmp/links/d > /tmp/links/c', but '/tmp/links/c'
> > > does not exist.
It turns out that the 'chase' package (v0.5.2-3) & command does all that:
% chase --verbose k ; echo $?
k
-> j
-> i
-> h
-> g
-> f
-> e
-> d
-> c
chase: /tmp/links/c: No such file or directory
1
Forgot about 'chase'. But 'realpath' is the easier name to recall and
associate with its function.
HTH...
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]