Ralf Wildenhues wrote: > * Bob Friesenhahn wrote on Fri, Apr 11, 2008 at 12:12:45AM CEST: >> On Thu, 10 Apr 2008, Ralf Wildenhues wrote: >>> On systems where $PWD happens to not work, we shouldn't care about >>> performance, they are so rare. >> We should define what it means for PWD to work. > > My intention was to use it only in places where it doesn't matter > whether logical or physical paths are used. For example progpath, > where all that's needed is that we can grep/sed the libtool script.
Yes, thus avoiding the possible forks for cd and pwd. I think using $PWD for this is fine. Peter -- Peter O'Gorman http://pogma.com