|
From: | Bernd Eggink |
Subject: | Re: equivalent of Linux readlink -f in pure bash? |
Date: | Tue, 09 Aug 2011 11:29:00 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110714 Thunderbird/5.0 |
On 09.08.2011 03:44, Jon Seymour wrote:
Has anyone ever come across an equivalent to Linux's readlink -f that is implemented purely in bash?
You can find my version here: http://sudrala.de/en_d/shell-getlink.htmlAs it contains some corrections from Greg Wooledge, it should handle even pathological situations. ;)
Bernd -- http://sudrala.de
[Prev in Thread] | Current Thread | [Next in Thread] |