On Sun, Jun 04, 2006 at 02:26:22PM -0700, Graham Percival wrote:
> > The -f option tells readlink to rekursively resolv all links and find
> >the file which the link finally points to. Without the -f readlink just
> >just gives you what this link points to.
> 
> Hmm.  FreeBSD's readlink doesn't have any option like that.

Workaround (untested):

f=(whatever)
while [ -h "$f" ]; do
        f=$(readlink "$f")
done

Ciao,
        Kili

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to