Re: Normalizing paths in files

2009-03-25 Thread jbmdharris
k to then go back and replace them all seems pretty complicated. -- View this message in context: http://www.nabble.com/Normalizing-paths-in-files-tp22695672p22714286.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Re: Normalizing paths in files

2009-03-25 Thread Joe Schmetzer
intraub/this/is/a/test.txt". > > Notice I appended "FOO" on the path, so would also include > the file name too. > > On Wed, Mar 25, 2009 at 1:51 AM, jbmdharris wrote: > > > > Does anyone have any good examples of normalizing paths in files? > > >

Re: Normalizing paths in files

2009-03-25 Thread David Weintraub
too. On Wed, Mar 25, 2009 at 1:51 AM, jbmdharris wrote: > > Does anyone have any good examples of normalizing paths in files? > > I have files that have paths like this in them: > > ../../foo.htm > > Which I process to make fully-qualified like this: > > /abc/def/ghi

Normalizing paths in files

2009-03-24 Thread jbmdharris
Does anyone have any good examples of normalizing paths in files? I have files that have paths like this in them: ../../foo.htm Which I process to make fully-qualified like this: /abc/def/ghi/jkl/mno/../../foo.htm Now I want to normalize the fully-qualified paths to remove the "../"