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.
--
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?
> >
>
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
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 "../"