path normalization

2005-01-18 Thread Ralf Wildenhues
One step toward integrating Linux multilib support, but a Libtool requirement independent of that goal, is comparison of normalized paths. In a nutshell, I'd like to be able to decide that ../foo/../lib ../lib are equal. Unfortunately, libtool so far has neither required its input to be norma

Re: path normalization

2005-01-19 Thread Gary V. Vaughan
Hallo Ralf! Ralf Wildenhues wrote: > One step toward integrating Linux multilib support, but a Libtool > requirement independent of that goal, is comparison of normalized > paths. In a nutshell, I'd like to be able to decide that > ../foo/../lib > ../lib > are equal. > > [[snip]] > > This i

Re: path normalization

2005-01-19 Thread Ralf Wildenhues
Hi Gary, * Gary V. Vaughan wrote on Wed, Jan 19, 2005 at 02:10:46PM CET: > Ralf Wildenhues wrote: > > > > This is my first try at a shell function that implements this with > > sed (and little overhead in most trivial cases). I'm posting it > > because it's not trivial, and I'd like to know abou